@@ -347,7 +347,7 @@ Executing the root selection set works similarly for queries (parallel),
347
347
mutations (serial), and subscriptions (where it is executed for each event in
348
348
the underlying Source Stream).
349
349
350
- First, the selection set is turned into a grouped field set ; then, we execute
350
+ First, the selection set is turned into a _ grouped field set _ ; then, we execute
351
351
this grouped field set and return the resulting {data} and {errors}.
352
352
353
353
ExecuteRootSelectionSet(variableValues, initialValue, objectType, selectionSet,
@@ -365,11 +365,13 @@ serial):
365
365
366
366
### Field Collection
367
367
368
- Before execution, the _ selection set_ is converted to a grouped field set by
369
- calling {CollectFields()}. Each entry in the grouped field set is a list of
370
- fields that share a response key (the alias if defined, otherwise the field
371
- name). This ensures all fields with the same response key (including those in
372
- referenced fragments) are executed at the same time.
368
+ Before execution, the _ selection set_ is converted to a _ grouped field set_ by
369
+ calling {CollectFields()}.
370
+
371
+ :: A _ grouped field set_ is a map where each entry is a list of field selections
372
+ (including those in referenced fragments) that share a _ response key_ (the alias
373
+ if defined, otherwise the field name). This ensures all fields with the same
374
+ _ response key_ are executed at the same time.
373
375
374
376
As an example, collecting the fields of this selection set would collect two
375
377
instances of the field ` a ` and one of field ` b ` :
0 commit comments