@@ -468,8 +468,8 @@ CollectFields(objectType, selectionSet, variableValues, visitedFragments):
468468 - Let {fragmentCollectedFieldMap} be the result of calling
469469 {CollectFields(objectType, fragmentSelectionSet, variableValues,
470470 visitedFragments)}.
471- - For each {fragmentCollectedFieldMap} as {responseName} and
472- {fragmentFields }:
471+ - For each {responseName} and {fragmentFields} in
472+ {fragmentCollectedFieldMap }:
473473 - Let {fieldsForResponseName} be the _ field set_ value in
474474 {collectedFieldsMap} for the key {responseName}; otherwise create the
475475 entry with an empty ordered set.
@@ -483,8 +483,8 @@ CollectFields(objectType, selectionSet, variableValues, visitedFragments):
483483 - Let {fragmentCollectedFieldMap} be the result of calling
484484 {CollectFields(objectType, fragmentSelectionSet, variableValues,
485485 visitedFragments)}.
486- - For each {fragmentCollectedFieldMap} as {responseName} and
487- {fragmentFields }:
486+ - For each {responseName} and {fragmentFields} in
487+ {fragmentCollectedFieldMap }:
488488 - Let {fieldsForResponseName} be the _ field set_ value in
489489 {collectedFieldsMap} for the key {responseName}; otherwise create the
490490 entry with an empty ordered set.
@@ -546,10 +546,10 @@ CollectSubfields(objectType, fields, variableValues):
546546 - If {fieldSelectionSet} is null or empty, continue to the next field.
547547 - Let {fieldCollectedFieldMap} be the result of {CollectFields(objectType,
548548 fieldSelectionSet, variableValues)}.
549- - For each {fieldCollectedFieldMap} as {responseName} and {subfields }:
549+ - For each {responseName} and {subfields} in {fieldCollectedFieldMap }:
550550 - Let {fieldsForResponseName} be the _ field set_ value in
551- {collectedFieldsMap} for the key {responseName}; otherwise create it as an
552- empty ordered set.
551+ {collectedFieldsMap} for the key {responseName}; otherwise create the
552+ entry with an empty ordered set.
553553 - Add each fields from {subfields} to {fieldsForResponseName}.
554554- Return {collectedFieldsMap}.
555555
@@ -573,7 +573,7 @@ ExecuteCollectedFields(collectedFieldsMap, objectType, objectValue,
573573variableValues):
574574
575575- Initialize {resultMap} to an empty ordered map.
576- - For each {collectedFieldsMap} as {responseName} and {fields }:
576+ - For each {responseName} and {fields} in {collectedFieldsMap }:
577577 - Let {fieldName} be the name of the first entry in {fields}. Note: This value
578578 is unaffected if an alias is used.
579579 - Let {fieldType} be the return type defined for the field {fieldName} of
0 commit comments