@@ -525,7 +525,7 @@ CollectFields(objectType, selectionSet, variableValues, visitedFragments, localV
525
525
- If {DoesFragmentTypeApply(objectType, fragmentType)} is {false}, continue
526
526
with the next {selection} in {selectionSet}.
527
527
- Let {localVariableValues} be the result of calling
528
- {getArgumentValuesFromSpread(fragmentSpread, schema, fragmentDefinition.variableDefinitions , variableValues, localVariableValues)}.
528
+ {getArgumentValuesFromSpread(selection, fragmentDefinition, variableValues, localVariableValues)}.
529
529
- Let {fragmentGroupedFieldSet} be the result of calling
530
530
{CollectFields(objectType, fragmentSelectionSet, variableValues,
531
531
visitedFragments)}.
@@ -564,10 +564,10 @@ DoesFragmentTypeApply(objectType, fragmentType):
564
564
- If {objectType} is a possible type of {fragmentType}, return {true}
565
565
otherwise return {false}.
566
566
567
- getArgumentValuesFromSpread(fragmentSpread, schema, fragmentDefinitionVariableDefinitions , variableValues, fragmentArgumentValues):
567
+ getArgumentValuesFromSpread(fragmentSpread, fragmentDefinition , variableValues, fragmentArgumentValues):
568
568
569
569
- Let {coercedValues} be an empty unordered Map.
570
- - For each {variableDefinition} in {fragmentDefinitionVariableDefinitions }:
570
+ - For each {variableDefinition} in {fragmentDefinition }:
571
571
- Let {variableName} be the name of {variableDefinition}.
572
572
- Let {variableType} be the type of {variableDefinition}.
573
573
- Let {defaultValue} be the default value for {variableDefinition}.
0 commit comments