@graphitation/supermassive
Advanced tools
Comparing version 2.4.1 to 2.4.2
# Change Log - @graphitation/supermassive | ||
This log was last generated on Tue, 04 Apr 2023 10:29:16 GMT and should not be manually modified. | ||
This log was last generated on Tue, 02 May 2023 10:22:43 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 2.4.2 | ||
Tue, 02 May 2023 10:22:43 GMT | ||
### Patches | ||
- [SUPERMASSIVE] fix invalid behavior in execution hooks error handling (sergeystoyan@microsoft.com) | ||
## 2.4.0 | ||
@@ -8,0 +16,0 @@ |
@@ -610,8 +610,10 @@ "use strict"; | ||
(_, rawError) => { | ||
const error = toGraphQLError( | ||
rawError, | ||
resolveInfo.path, | ||
"Unexpected error in beforeFieldResolve hook" | ||
); | ||
exeContext.errors.push(error); | ||
if (rawError) { | ||
const error = toGraphQLError( | ||
rawError, | ||
resolveInfo.path, | ||
"Unexpected error in beforeFieldResolve hook" | ||
); | ||
exeContext.errors.push(error); | ||
} | ||
} | ||
@@ -634,8 +636,10 @@ ); | ||
(_, rawError) => { | ||
const error2 = toGraphQLError( | ||
rawError, | ||
resolveInfo.path, | ||
"Unexpected error in afterFieldResolve hook" | ||
); | ||
exeContext.errors.push(error2); | ||
if (rawError) { | ||
const error2 = toGraphQLError( | ||
rawError, | ||
resolveInfo.path, | ||
"Unexpected error in afterFieldResolve hook" | ||
); | ||
exeContext.errors.push(error2); | ||
} | ||
} | ||
@@ -658,8 +662,10 @@ ); | ||
(_, rawError) => { | ||
const error2 = toGraphQLError( | ||
rawError, | ||
resolveInfo.path, | ||
"Unexpected error in afterFieldComplete hook" | ||
); | ||
exeContext.errors.push(error2); | ||
if (rawError) { | ||
const error2 = toGraphQLError( | ||
rawError, | ||
resolveInfo.path, | ||
"Unexpected error in afterFieldComplete hook" | ||
); | ||
exeContext.errors.push(error2); | ||
} | ||
} | ||
@@ -666,0 +672,0 @@ ); |
{ | ||
"name": "@graphitation/supermassive", | ||
"license": "MIT", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"main": "./lib/index", | ||
@@ -6,0 +6,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
349383
7659