apollo-server-core
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -98,3 +98,3 @@ "use strict"; | ||
logFunction({ action: LogAction.execute, step: LogStep.start }); | ||
return graphql_1.execute(options.schema, documentAST, options.rootValue, context, options.variables, options.operationName, options.fieldResolver).then(function (result) { | ||
return Promise.resolve(graphql_1.execute(options.schema, documentAST, options.rootValue, context, options.variables, options.operationName, options.fieldResolver)).then(function (result) { | ||
logFunction({ action: LogAction.execute, step: LogStep.end }); | ||
@@ -101,0 +101,0 @@ logFunction({ action: LogAction.request, step: LogStep.end }); |
{ | ||
"name": "apollo-server-core", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Core engine for Apollo GraphQL server", | ||
@@ -29,3 +29,3 @@ "main": "dist/index.js", | ||
"@types/fibers": "0.0.29", | ||
"@types/graphql": "0.11.5", | ||
"@types/graphql": "0.11.7", | ||
"fibers": "1.0.15", | ||
@@ -32,0 +32,0 @@ "meteor-promise": "0.8.6", |
@@ -155,3 +155,3 @@ import { | ||
logFunction({action: LogAction.execute, step: LogStep.start}); | ||
return execute( | ||
return Promise.resolve(execute( | ||
options.schema, | ||
@@ -164,3 +164,3 @@ documentAST, | ||
options.fieldResolver, | ||
).then(result => { | ||
)).then(result => { | ||
logFunction({action: LogAction.execute, step: LogStep.end}); | ||
@@ -167,0 +167,0 @@ logFunction({action: LogAction.request, step: LogStep.end}); |
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
57421