Skip to content

Commit aa1371f

Browse files
committed
for consistency
1 parent a13d985 commit aa1371f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/execution/execute.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ function getStreamUsage(
10921092
const streamedFieldGroup: FieldGroup = fieldGroup.map((fieldDetails) => ({
10931093
node: fieldDetails.node,
10941094
deferUsage: undefined,
1095-
fragmentVariables: fieldDetails.fragmentVariableValues,
1095+
fragmentVariablesValues: fieldDetails.fragmentVariableValues,
10961096
}));
10971097

10981098
const streamUsage = {

src/execution/values.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export function experimentalGetArgumentValues(
209209
node: FieldNode | DirectiveNode | FragmentSpreadNode,
210210
argDefs: ReadonlyArray<GraphQLArgument | GraphQLVariableSignature>,
211211
variableValues: Maybe<VariableValues>,
212-
fragmentVariables?: Maybe<VariableValues>,
212+
fragmentVariablesValues?: Maybe<VariableValues>,
213213
): { [argument: string]: unknown } {
214214
const coercedValues: { [argument: string]: unknown } = {};
215215

@@ -244,8 +244,8 @@ export function experimentalGetArgumentValues(
244244

245245
if (valueNode.kind === Kind.VARIABLE) {
246246
const variableName = valueNode.name.value;
247-
const scopedVariableValues = fragmentVariables?.sources[variableName]
248-
? fragmentVariables
247+
const scopedVariableValues = fragmentVariablesValues?.sources[variableName]
248+
? fragmentVariablesValues
249249
: variableValues;
250250
if (
251251
scopedVariableValues == null ||
@@ -280,7 +280,7 @@ export function experimentalGetArgumentValues(
280280
valueNode,
281281
argType,
282282
variableValues,
283-
fragmentVariables,
283+
fragmentVariablesValues,
284284
);
285285
if (coercedValue === undefined) {
286286
// Note: ValuesOfCorrectTypeRule validation should catch this before

0 commit comments

Comments
 (0)