Skip to content

Commit 7ee2644

Browse files
committed
well, we still mutate the passed in set of visited fragments....
1 parent aa2ccb3 commit 7ee2644

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

spec/Section 6 -- Execution.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -590,17 +590,15 @@ CollectSubfields(objectType, fields, variableValues):
590590
- For each {field} in {fields}:
591591
- Let {fieldSelectionSet} be the selection set of {field}.
592592
- If {fieldSelectionSet} is null or empty, continue to the next field.
593-
- Let {fieldGroupedFieldSet} and {fieldVisitedFragments} be the result of
594-
calling {CollectFields(objectType, fragmentSelectionSet, variableValues,
593+
- Let {fieldGroupedFieldSet} be the result of calling
594+
{CollectFields(objectType, fragmentSelectionSet, variableValues,
595595
visitedFragments)}.
596596
- For each {fieldGroup} in {fieldGroupedFieldSet}:
597597
- Let {responseKey} be the response key shared by all fields in
598598
{fragmentGroup}.
599599
- Let {groupForResponseKey} be the list in {groupedFieldSet} for
600600
{responseKey}; if no such list exists, create it as an empty list.
601601
- Append all items in {fieldGroup} to {groupForResponseKey}.
602-
- For each {fragmentSpreadName} in {fieldVisitedFragments}:
603-
- Add {fragmentSpreadName} to {visitedFragments}.
604602
- Return {groupedSubfieldSet}.
605603

606604
## Executing Fields

0 commit comments

Comments
 (0)