@@ -491,8 +491,8 @@ A correct executor must generate the following result for that _selection set_:
491491
492492Before execution, the _ selection set_ is converted to a grouped field set by
493493calling {CollectFields()}. Each entry in the grouped field set is a list of
494- fields that share a _ response key _ (the alias if defined, otherwise the field
495- name). This ensures all fields with the same response key (including those in
494+ fields that share a _ response name _ (the alias if defined, otherwise the field
495+ name). This ensures all fields with the same response name (including those in
496496referenced fragments) are executed at the same time.
497497
498498As an example, collecting the fields of this selection set would collect two
@@ -534,7 +534,7 @@ CollectFields(objectType, selectionSet, variableValues, visitedFragments):
534534 in {variableValues} with the value {true}, continue with the next
535535 {selection} in {selectionSet}.
536536 - If {selection} is a {Field}:
537- - Let {responseKey} be the _ response key _ of {selection} (the alias if
537+ - Let {responseKey} be the _ response name _ of {selection} (the alias if
538538 defined, otherwise the field name).
539539 - Let {groupForResponseKey} be the list in {groupedFields} for
540540 {responseKey}; if no such list exists, create it as an empty list.
@@ -556,7 +556,7 @@ CollectFields(objectType, selectionSet, variableValues, visitedFragments):
556556 {CollectFields(objectType, fragmentSelectionSet, variableValues,
557557 visitedFragments)}.
558558 - For each {fragmentGroup} in {fragmentGroupedFieldSet}:
559- - Let {responseKey} be the response key shared by all fields in
559+ - Let {responseKey} be the response name shared by all fields in
560560 {fragmentGroup}.
561561 - Let {groupForResponseKey} be the list in {groupedFields} for
562562 {responseKey}; if no such list exists, create it as an empty list.
@@ -571,7 +571,7 @@ CollectFields(objectType, selectionSet, variableValues, visitedFragments):
571571 {CollectFields(objectType, fragmentSelectionSet, variableValues,
572572 visitedFragments)}.
573573 - For each {fragmentGroup} in {fragmentGroupedFieldSet}:
574- - Let {responseKey} be the response key shared by all fields in
574+ - Let {responseKey} be the response name shared by all fields in
575575 {fragmentGroup}.
576576 - Let {groupForResponseKey} be the list in {groupedFields} for
577577 {responseKey}; if no such list exists, create it as an empty list.
0 commit comments