From 6e91f98474e1acf6b495fcc50118d6212566f69a Mon Sep 17 00:00:00 2001 From: jdecroock Date: Wed, 7 Feb 2024 10:46:28 +0100 Subject: [PATCH] address https://github.com/graphql/graphql-js/pull/3835#discussion_r1101825832 --- spec/Section 6 -- Execution.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/spec/Section 6 -- Execution.md b/spec/Section 6 -- Execution.md index 2a849ec0f..0ce8efe29 100644 --- a/spec/Section 6 -- Execution.md +++ b/spec/Section 6 -- Execution.md @@ -519,12 +519,9 @@ CollectFields(objectType, selectionSet, variableValues, visitedFragments): {fragmentSpreadName}. - If no such {fragment} exists, continue with the next {selection} in {selectionSet}. - - Let {arguments} be the set of arguments on {selection}. - - Let {fragmentSpreadKey} be a unique key of {fragmentSpreadName} and - {arguments}. - - If {fragmentSpreadKey} is in {visitedFragments}, continue with the next + - If {fragmentSpreadName} is in {visitedFragments}, continue with the next {selection} in {selectionSet}. - - Add {fragmentSpreadKey} to {visitedFragments}. + - Add {fragmentSpreadName} to {visitedFragments}. - Let {fragmentType} be the type condition on {fragment}. - If {DoesFragmentTypeApply(objectType, fragmentType)} is {false}, continue with the next {selection} in {selectionSet}.