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