graphql-extensions
Advanced tools
Comparing version 0.1.0-beta.10 to 0.1.0-beta.11
@@ -102,6 +102,5 @@ "use strict"; | ||
// (which matches the behavior of graphql-js when there is no explicit resolve function defined). | ||
// TODO: Find a way to respect custom field resolvers, see https://github.com/graphql/graphql-js/pull/865 | ||
try { | ||
var result_1 = (fieldResolver || | ||
extensionStack.fieldResolver || | ||
(extensionStack && extensionStack.fieldResolver) || | ||
graphql_1.defaultFieldResolver)(source, args, context, info); | ||
@@ -108,0 +107,0 @@ whenResultIsFinished(result_1, function () { |
{ | ||
"name": "graphql-extensions", | ||
"version": "0.1.0-beta.10", | ||
"version": "0.1.0-beta.11", | ||
"description": "Add extensions to GraphQL servers", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -179,6 +179,5 @@ import { | ||
// (which matches the behavior of graphql-js when there is no explicit resolve function defined). | ||
// TODO: Find a way to respect custom field resolvers, see https://github.com/graphql/graphql-js/pull/865 | ||
try { | ||
const result = (fieldResolver || | ||
extensionStack.fieldResolver || | ||
(extensionStack && extensionStack.fieldResolver) || | ||
defaultFieldResolver)(source, args, context, info); | ||
@@ -185,0 +184,0 @@ whenResultIsFinished(result, () => { |
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
46890
986