@graphql-tools/delegate
Advanced tools
Comparing version 10.0.20 to 10.0.21-alpha-20240826091035-7153ab38380f18449e47bf2c052366505a0e7544
@@ -145,3 +145,4 @@ "use strict"; | ||
const nestedSelectionSet = selectionNode.selectionSet; | ||
if (nestedParent != null) { | ||
if (info.operation.selectionSet.selections.some(selection => selection.kind === graphql_1.Kind.FIELD && selection.name.value !== responseKey) && | ||
nestedParent != null) { | ||
if (!parentSatisfiedSelectionSet(nestedParent, nestedSelectionSet)) { | ||
@@ -148,0 +149,0 @@ async function handleNestedParentItem(nestedParentItem, fieldNode) { |
@@ -141,3 +141,4 @@ import { defaultFieldResolver, Kind, responsePathAsArray, } from 'graphql'; | ||
const nestedSelectionSet = selectionNode.selectionSet; | ||
if (nestedParent != null) { | ||
if (info.operation.selectionSet.selections.some(selection => selection.kind === Kind.FIELD && selection.name.value !== responseKey) && | ||
nestedParent != null) { | ||
if (!parentSatisfiedSelectionSet(nestedParent, nestedSelectionSet)) { | ||
@@ -144,0 +145,0 @@ async function handleNestedParentItem(nestedParentItem, fieldNode) { |
{ | ||
"name": "@graphql-tools/delegate", | ||
"version": "10.0.20", | ||
"version": "10.0.21-alpha-20240826091035-7153ab38380f18449e47bf2c052366505a0e7544", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
242229
4748
2