We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac9ed4 commit 025323eCopy full SHA for 025323e
src/execution/collectFields.ts
@@ -192,7 +192,7 @@ function collectFieldsImpl(
192
193
const newDeferUsage = getDeferUsage(
194
operation,
195
- fragmentVariableValues ?? variableValues,
+ scopedVariableValues,
196
selection,
197
deferUsage,
198
);
@@ -233,10 +233,7 @@ function collectFieldsImpl(
233
if (
234
!newDeferUsage &&
235
(visitedFragmentNames.has(fragName) ||
236
- !shouldIncludeNode(
237
238
- selection,
239
- ))
+ !shouldIncludeNode(scopedVariableValues, selection))
240
) {
241
continue;
242
}
0 commit comments