Skip to content

Commit aaaf061

Browse files
committed
fix
1 parent f08e66d commit aaaf061

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/execution/execute.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ function executeField(
752752
const args = experimentalGetArgumentValues(
753753
fieldGroup[0].node,
754754
fieldDef.args,
755-
fieldGroup[0].fragmentVariableValues ?? exeContext.variableValues,
755+
fieldGroup[0].scopedVariableValues ?? exeContext.variableValues,
756756
);
757757

758758
// The resolve function's optional third argument is a context value that
@@ -1060,7 +1060,7 @@ function getStreamUsage(
10601060
const stream = getDirectiveValues(
10611061
GraphQLStreamDirective,
10621062
fieldGroup[0].node,
1063-
fieldGroup[0].fragmentVariableValues ?? exeContext.variableValues,
1063+
fieldGroup[0].scopedVariableValues ?? exeContext.variableValues,
10641064
);
10651065

10661066
if (!stream) {
@@ -1089,7 +1089,7 @@ function getStreamUsage(
10891089
const streamedFieldGroup: FieldGroup = fieldGroup.map((fieldDetails) => ({
10901090
node: fieldDetails.node,
10911091
deferUsage: undefined,
1092-
fragmentVariableValues: fieldDetails.fragmentVariableValues,
1092+
scopedVariableValues: fieldDetails.scopedVariableValues,
10931093
}));
10941094

10951095
const streamUsage = {

0 commit comments

Comments
 (0)