simple-graphql
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -147,5 +147,3 @@ 'use strict'; | ||
if (!this.graphQLObjectTypes[typeName]) { | ||
var obj = Object.assign({}, model.config.fields, model.config.links); | ||
var interfaces = [this.nodeInterface]; | ||
Object.assign(obj, { | ||
var obj = Object.assign({ | ||
id: { | ||
@@ -176,3 +174,4 @@ $type: new graphql.GraphQLNonNull(graphql.GraphQLID), | ||
} | ||
}); | ||
}, model.config.fields, model.config.links); | ||
var interfaces = [this.nodeInterface]; | ||
@@ -179,0 +178,0 @@ var objectType = _transformer2.default.toGraphQLFieldConfig(typeName, '', obj, this, interfaces).type; |
{ | ||
"name": "simple-graphql", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
{ | ||
"name": "simple-graphql", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
300131
5186