simple-graphql
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "simple-graphql", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -208,4 +208,3 @@ 'use strict'; | ||
if (fieldType['resolve']) { | ||
result['resolve'] = context.wrapFieldResolve({ | ||
config: fieldType['config'], | ||
var wrapConfig = { | ||
name: name.split('.').slice(-1)[0], | ||
@@ -215,3 +214,7 @@ path: name, | ||
resolve: fieldType['resolve'] | ||
}); | ||
}; | ||
if (fieldType['config']) { | ||
wrapConfig['config'] = fieldType['config']; | ||
} | ||
result['resolve'] = context.wrapFieldResolve(wrapConfig); | ||
} | ||
@@ -218,0 +221,0 @@ if (fieldType.args || result.args) { |
{ | ||
"name": "simple-graphql", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"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
301487
5212