@@ -133,7 +133,7 @@ ExecuteQuery(query, schema, variableValues, initialValue):
133
133
- Let {selectionSet} be the top level Selection Set in {query}.
134
134
- Let {groupedFieldSet} be the result of {CollectRootFields(queryType,
135
135
selectionSet, variableValues)}.
136
- - Let {data} be the result of running {ExecuteFieldSet (groupedFieldSet,
136
+ - Let {data} be the result of running {ExecuteGroupedFieldSet (groupedFieldSet,
137
137
queryType, initialValue, variableValues)} _ normally_ (allowing
138
138
parallelization).
139
139
- Let {errors} be the list of all _ field error_ raised while executing the
@@ -157,7 +157,7 @@ ExecuteMutation(mutation, schema, variableValues, initialValue):
157
157
- Let {selectionSet} be the top level Selection Set in {mutation}.
158
158
- Let {groupedFieldSet} be the result of {CollectRootFields(mutationType,
159
159
selectionSet, variableValues)}.
160
- - Let {data} be the result of running {ExecuteFieldSet (groupedFieldSet,
160
+ - Let {data} be the result of running {ExecuteGroupedFieldSet (groupedFieldSet,
161
161
mutationType, initialValue, variableValues)} _ serially_ .
162
162
- Let {errors} be the list of all _ field error_ raised while executing the
163
163
selection set.
@@ -307,7 +307,7 @@ ExecuteSubscriptionEvent(subscription, schema, variableValues, initialValue):
307
307
- Let {selectionSet} be the top level Selection Set in {subscription}.
308
308
- Let {groupedFieldSet} be the result of {CollectRootFields(subscriptionType,
309
309
selectionSet, variableValues)}.
310
- - Let {data} be the result of running {ExecuteFieldSet (groupedFieldSet,
310
+ - Let {data} be the result of running {ExecuteGroupedFieldSet (groupedFieldSet,
311
311
subscriptionType, initialValue, variableValues)} _ normally_ (allowing
312
312
parallelization).
313
313
- Let {errors} be the list of all _ field error_ raised while executing the
@@ -328,7 +328,7 @@ Unsubscribe(responseStream):
328
328
329
329
- Cancel {responseStream}
330
330
331
- ## Executing Field Sets
331
+ ## Executing Grouped Field Sets
332
332
333
333
To execute a grouped field set, the object value being evaluated and the object
334
334
type need to be known, as well as whether it must be executed serially, or may
@@ -337,7 +337,8 @@ be executed in parallel.
337
337
Each represented field in the grouped field set produces an entry into a
338
338
response map.
339
339
340
- ExecuteFieldSet(groupedFieldSet, objectType, objectValue, variableValues):
340
+ ExecuteGroupedFieldSet(groupedFieldSet, objectType, objectValue,
341
+ variableValues):
341
342
342
343
- Initialize {resultMap} to an empty ordered map.
343
344
- For each {groupedFieldSet} as {responseKey} and {fields}:
@@ -708,7 +709,7 @@ CompleteValue(fieldType, fields, result, variableValues):
708
709
- Let {objectType} be {ResolveAbstractType(fieldType, result)}.
709
710
- Let {groupedSubfieldSet} be the result of calling
710
711
{CollectSubfields(objectType, fields, variableValues)}.
711
- - Return the result of evaluating {ExecuteFieldSet (groupedSubfieldSet,
712
+ - Return the result of evaluating {ExecuteGroupedFieldSet (groupedSubfieldSet,
712
713
objectType, result, variableValues)} _ normally_ (allowing for
713
714
parallelization).
714
715
0 commit comments