@@ -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