@graphql-tools/delegate
Advanced tools
Comparing version 6.0.6-alpha-ace3f46.0 to 6.0.6-alpha-b493948.0
@@ -596,3 +596,3 @@ 'use strict'; | ||
const error = errors[0]; | ||
return error.originalError || error; | ||
return error.originalError || utils.relocatedError(error, null); | ||
} | ||
@@ -599,0 +599,0 @@ else if (errors.some(error => typeof error.path[1] === 'string')) { |
import { visit, visitWithTypeInfo, Kind, getNamedType, isAbstractType, TypeInfo, isObjectType, isInterfaceType, TypeNameMetaFieldDef, getNullableType, isLeafType, isCompositeType, isListType, typeFromAST, isSchema, getOperationAST, validate, execute, subscribe, defaultFieldResolver, parse } from 'graphql'; | ||
import { implementsAbstractType, CombinedError, getErrorsByPathSegment, ERROR_SYMBOL, relocatedError, mergeDeep, getErrors, setErrors, slicedError, collectFields, getResponseKeyFromInfo, updateArgument, serializeInputValue, applyRequestTransforms, applyResultTransforms, mapAsyncIterator, concatInlineFragments } from '@graphql-tools/utils'; | ||
import { implementsAbstractType, CombinedError, relocatedError, getErrorsByPathSegment, ERROR_SYMBOL, mergeDeep, getErrors, setErrors, slicedError, collectFields, getResponseKeyFromInfo, updateArgument, serializeInputValue, applyRequestTransforms, applyResultTransforms, mapAsyncIterator, concatInlineFragments } from '@graphql-tools/utils'; | ||
@@ -592,3 +592,3 @@ class ExpandAbstractTypes { | ||
const error = errors[0]; | ||
return error.originalError || error; | ||
return error.originalError || relocatedError(error, null); | ||
} | ||
@@ -595,0 +595,0 @@ else if (errors.some(error => typeof error.path[1] === 'string')) { |
{ | ||
"name": "@graphql-tools/delegate", | ||
"version": "6.0.6-alpha-ace3f46.0", | ||
"version": "6.0.6-alpha-b493948.0", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -10,4 +10,4 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@graphql-tools/schema": "6.0.6-alpha-ace3f46.0", | ||
"@graphql-tools/utils": "6.0.6-alpha-ace3f46.0", | ||
"@graphql-tools/schema": "6.0.6-alpha-b493948.0", | ||
"@graphql-tools/utils": "6.0.6-alpha-b493948.0", | ||
"tslib": "~2.0.0" | ||
@@ -14,0 +14,0 @@ }, |
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
367439
+ Added@graphql-tools/schema@6.0.6-alpha-b493948.0(transitive)
+ Added@graphql-tools/utils@6.0.6-alpha-b493948.0(transitive)
- Removed@graphql-tools/schema@6.0.6-alpha-ace3f46.0(transitive)
- Removed@graphql-tools/utils@6.0.6-alpha-ace3f46.0(transitive)