Skip to content

Commit 20547eb

Browse files
authored
refactor: streamline variable name (#4529)
so it matches executeSubscription follow-up to #4528
1 parent 6246933 commit 20547eb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/execution/execute.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,8 @@ function executeField(
646646
const { validatedExecutionArgs, abortSignalListener } = exeContext;
647647
const { schema, contextValue, variableValues, hideSuggestions, abortSignal } =
648648
validatedExecutionArgs;
649-
const firstDetails = fieldDetailsList[0];
650-
const firstNode = firstDetails.node;
649+
const firstFieldDetails = fieldDetailsList[0];
650+
const firstNode = firstFieldDetails.node;
651651
const fieldName = firstNode.name.value;
652652
const fieldDef = schema.getField(parentType, fieldName);
653653
if (!fieldDef) {
@@ -675,7 +675,7 @@ function executeField(
675675
fieldDef,
676676
firstNode,
677677
variableValues,
678-
firstDetails.fragmentVariableValues,
678+
firstFieldDetails.fragmentVariableValues,
679679
hideSuggestions,
680680
);
681681

0 commit comments

Comments
 (0)