Skip to content

Commit 4dd3fe3

Browse files
committed
corrections
1 parent 5584176 commit 4dd3fe3

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
@@ -525,7 +525,7 @@ CollectFields(objectType, selectionSet, variableValues, visitedFragments, localV
525525
- If {DoesFragmentTypeApply(objectType, fragmentType)} is {false}, continue
526526
with the next {selection} in {selectionSet}.
527527
- Let {localVariableValues} be the result of calling
528-
{getArgumentValuesFromSpread(fragmentSpread, schema, fragmentDefinition.variableDefinitions, variableValues, localVariableValues)}.
528+
{getArgumentValuesFromSpread(selection, fragmentDefinition, variableValues, localVariableValues)}.
529529
- Let {fragmentGroupedFieldSet} be the result of calling
530530
{CollectFields(objectType, fragmentSelectionSet, variableValues,
531531
visitedFragments)}.
@@ -564,10 +564,10 @@ DoesFragmentTypeApply(objectType, fragmentType):
564564
- If {objectType} is a possible type of {fragmentType}, return {true}
565565
otherwise return {false}.
566566

567-
getArgumentValuesFromSpread(fragmentSpread, schema, fragmentDefinitionVariableDefinitions, variableValues, fragmentArgumentValues):
567+
getArgumentValuesFromSpread(fragmentSpread, fragmentDefinition, variableValues, fragmentArgumentValues):
568568

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

0 commit comments

Comments
 (0)