Skip to content

Commit 210a814

Browse files
committed
corrections
1 parent 548163a commit 210a814

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/Section 6 -- Execution.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ CollectFields(objectType, selectionSet, variableValues, visitedFragments, localV
527527
- If {DoesFragmentTypeApply(objectType, fragmentType)} is {false}, continue
528528
with the next {selection} in {selectionSet}.
529529
- Let {localVariableValues} be the result of calling
530-
{getArgumentValuesFromSpread(fragmentSpread, schema, fragmentDefinition.variableDefinitions, variableValues, localVariableValues)}.
530+
{getArgumentValuesFromSpread(selection, fragmentDefinition, variableValues, localVariableValues)}.
531531
- Let {fragmentGroupedFieldSet} be the result of calling
532532
{CollectFields(objectType, fragmentSelectionSet, variableValues,
533533
visitedFragments)}.
@@ -566,10 +566,10 @@ DoesFragmentTypeApply(objectType, fragmentType):
566566
- If {objectType} is a possible type of {fragmentType}, return {true}
567567
otherwise return {false}.
568568

569-
getArgumentValuesFromSpread(fragmentSpread, schema, fragmentDefinitionVariableDefinitions, variableValues, fragmentArgumentValues):
569+
getArgumentValuesFromSpread(fragmentSpread, fragmentDefinition, variableValues, fragmentArgumentValues):
570570

571571
- Let {coercedValues} be an empty unordered Map.
572-
- For each {variableDefinition} in {fragmentDefinitionVariableDefinitions}:
572+
- For each {variableDefinition} in {fragmentDefinition}:
573573
- Let {variableName} be the name of {variableDefinition}.
574574
- Let {variableType} be the type of {variableDefinition}.
575575
- Let {defaultValue} be the default value for {variableDefinition}.

0 commit comments

Comments
 (0)