@@ -429,8 +429,7 @@ subsequentPayloads, asyncRecord):
429429- If {path} is not provided, initialize it to an empty list.
430430- If {subsequentPayloads} is not provided, initialize it to the empty set.
431431- Let {groupedFieldSet} and {deferredGroupedFieldsList} be the result of
432- {CollectFields(objectType, objectValue, selectionSet, variableValues, path,
433- asyncRecord)}.
432+ {CollectFields(objectType, selectionSet, variableValues, path, asyncRecord)}.
434433- Initialize {resultMap} to an empty ordered map.
435434- For each {groupedFieldSet} as {responseKey} and {fields}:
436435 - Let {fieldName} be the name of the first entry in {fields}. Note: This value
@@ -662,8 +661,8 @@ The depth-first-search order of the field groups produced by {CollectFields()}
662661is maintained through execution, ensuring that fields appear in the executed
663662response in a stable and predictable order.
664663
665- CollectFields(objectType, objectValue, selectionSet, variableValues, path,
666- asyncRecord, visitedFragments, deferredGroupedFieldsList):
664+ CollectFields(objectType, selectionSet, variableValues, path, asyncRecord ,
665+ visitedFragments, deferredGroupedFieldsList):
667666
668667- If {visitedFragments} is not provided, initialize it to the empty set.
669668- Initialize {groupedFields} to an empty ordered map of lists.
@@ -708,16 +707,14 @@ asyncRecord, visitedFragments, deferredGroupedFieldsList):
708707 - Let {label} be the value or the variable to {deferDirective}'s {label}
709708 argument.
710709 - Let {deferredGroupedFields} be the result of calling
711- {CollectFields(objectType, objectValue, fragmentSelectionSet,
712- variableValues, path, asyncRecord, visitedFragments,
713- deferredGroupedFieldsList)}.
710+ {CollectFields(objectType, fragmentSelectionSet, variableValues, path,
711+ asyncRecord, visitedFragments, deferredGroupedFieldsList)}.
714712 - Append a record containing {label} and {deferredGroupedFields} to
715713 {deferredGroupedFieldsList}.
716714 - Continue with the next {selection} in {selectionSet}.
717715 - Let {fragmentGroupedFieldSet} be the result of calling
718- {CollectFields(objectType, objectValue, fragmentSelectionSet,
719- variableValues, path, asyncRecord, visitedFragments,
720- deferredGroupedFieldsList)}.
716+ {CollectFields(objectType, fragmentSelectionSet, variableValues, path,
717+ asyncRecord, visitedFragments, deferredGroupedFieldsList)}.
721718 - For each {fragmentGroup} in {fragmentGroupedFieldSet}:
722719 - Let {responseKey} be the response key shared by all fields in
723720 {fragmentGroup}.
@@ -738,16 +735,14 @@ asyncRecord, visitedFragments, deferredGroupedFieldsList):
738735 - Let {label} be the value or the variable to {deferDirective}'s {label}
739736 argument.
740737 - Let {deferredGroupedFields} be the result of calling
741- {CollectFields(objectType, objectValue, fragmentSelectionSet,
742- variableValues, path, asyncRecord, visitedFragments,
743- deferredGroupedFieldsList)}.
738+ {CollectFields(objectType, fragmentSelectionSet, variableValues, path,
739+ asyncRecord, visitedFragments, deferredGroupedFieldsList)}.
744740 - Append a record containing {label} and {deferredGroupedFields} to
745741 {deferredGroupedFieldsList}.
746742 - Continue with the next {selection} in {selectionSet}.
747743 - Let {fragmentGroupedFieldSet} be the result of calling
748- {CollectFields(objectType, objectValue, fragmentSelectionSet,
749- variableValues, path, asyncRecord, visitedFragments,
750- deferredGroupedFieldsList)}.
744+ {CollectFields(objectType, fragmentSelectionSet, variableValues, path,
745+ asyncRecord, visitedFragments, deferredGroupedFieldsList)}.
751746 - For each {fragmentGroup} in {fragmentGroupedFieldSet}:
752747 - Let {responseKey} be the response key shared by all fields in
753748 {fragmentGroup}.
@@ -965,8 +960,8 @@ directive.
965960
966961#### Execute Stream Field
967962
968- ExecuteStreamField(label, iterator, index, fields, innerType, path streamRecord ,
969- variableValues, subsequentPayloads):
963+ ExecuteStreamField(label, iterator, index, fields, innerType, path,
964+ streamRecord, variableValues, subsequentPayloads):
970965
971966- Let {streamRecord} be an async payload record created from {label}, {path},
972967 and {iterator}.
0 commit comments