Skip to content

Commit 8e9cbcb

Browse files
committed
skip deferred fragment spread when already in visited fragments
1 parent f7e9124 commit 8e9cbcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/Section 6 -- Execution.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -919,9 +919,9 @@ visitedFragments):
919919
- Let {deferDirective} be that directive.
920920
- If this execution is for a subscription operation, raise a _field
921921
error_.
922+
- If {fragmentSpreadName} is in {visitedFragments}, continue with the next
923+
{selection} in {selectionSet}.
922924
- If {deferDirective} is not defined:
923-
- If {fragmentSpreadName} is in {visitedFragments}, continue with the next
924-
{selection} in {selectionSet}.
925925
- Add {fragmentSpreadName} to {visitedFragments}.
926926
- Let {fragment} be the Fragment in the current Document whose name is
927927
{fragmentSpreadName}.

0 commit comments

Comments
 (0)