@graphql-tools/batch-execute
Advanced tools
Comparing version 8.5.20-alpha-20230423085506-b2e13178 to 8.5.20-rc-20230423085904-e0e648ef
@@ -42,3 +42,3 @@ "use strict"; | ||
const resultErrors = (result.errors = (result.errors || [])); | ||
resultErrors.push((0, utils_1.createGraphQLError)(error.message)); | ||
resultErrors.push(error); | ||
}); | ||
@@ -45,0 +45,0 @@ } |
// adapted from https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-graphql/src/batching/merge-queries.js | ||
import { createGraphQLError, relocatedError } from '@graphql-tools/utils'; | ||
import { relocatedError } from '@graphql-tools/utils'; | ||
import { parseKey } from './prefix.js'; | ||
@@ -39,3 +39,3 @@ /** | ||
const resultErrors = (result.errors = (result.errors || [])); | ||
resultErrors.push(createGraphQLError(error.message)); | ||
resultErrors.push(error); | ||
}); | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "@graphql-tools/batch-execute", | ||
"version": "8.5.20-alpha-20230423085506-b2e13178", | ||
"version": "8.5.20-rc-20230423085904-e0e648ef", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -11,5 +11,5 @@ "sideEffects": false, | ||
"@graphql-tools/utils": "^9.2.1", | ||
"dataloader": "^2.2.2", | ||
"dataloader": "2.2.2", | ||
"tslib": "^2.4.0", | ||
"value-or-promise": "^1.0.12" | ||
"value-or-promise": "1.0.12" | ||
}, | ||
@@ -16,0 +16,0 @@ "repository": { |
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
36506
Updateddataloader@2.2.2
Updatedvalue-or-promise@1.0.12