simple-graphql
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -91,5 +91,6 @@ "use strict"; | ||
else { | ||
// 性能优化:默认情况下不加hook | ||
config.resolve = | ||
config.resolve || context.hookFieldResolve(path, finalField); | ||
if (config.resolve) { | ||
finalField.resolve = config.resolve; | ||
} | ||
config.resolve = context.hookFieldResolve(path, finalField); | ||
} | ||
@@ -96,0 +97,0 @@ if ((_k = (_j = field.metadata) === null || _j === void 0 ? void 0 : _j.graphql) === null || _k === void 0 ? void 0 : _k.input) { |
{ | ||
"name": "simple-graphql", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
340455
5025