@@ -331,9 +331,9 @@ serial):
331
331
- If {serial} is not provided, initialize it to {false}.
332
332
- Let {groupedFieldSet} and {newDeferUsages} be the result of
333
333
{CollectFields(objectType, selectionSet, variableValues)}.
334
- - Let {fieldPlan } be the result of {BuildFieldPlan (groupedFieldSet)}.
334
+ - Let {executionPlan } be the result of {BuildExecutionPlan (groupedFieldSet)}.
335
335
- Let {data} and {incrementalDataRecords} be the result of
336
- {ExecuteFieldPlan (newDeferUsages, fieldPlan , objectType, initialValue,
336
+ {ExecuteExecutionPlan (newDeferUsages, executionPlan , objectType, initialValue,
337
337
variableValues, serial)}.
338
338
- Let {errors} be the list of all _ field error_ raised while completing {data}.
339
339
- If {incrementalDataRecords} is empty, return an unordered map containing
@@ -490,20 +490,20 @@ BatchIncrementalResults(incrementalResults):
490
490
of {hasNext} on the final item in the list.
491
491
- Yield {batchedIncrementalResult}.
492
492
493
- ## Executing a Field Plan
493
+ ## Executing an Execution Plan
494
494
495
- To execute a field plan, the object value being evaluated and the object type
496
- need to be known, as well as whether the non-deferred grouped field set must be
497
- executed serially, or may be executed in parallel.
495
+ To execute a execution plan, the object value being evaluated and the object
496
+ type need to be known, as well as whether the non-deferred grouped field set
497
+ must be executed serially, or may be executed in parallel.
498
498
499
- ExecuteFieldPlan (newDeferUsages, fieldPlan , objectType, objectValue,
499
+ ExecuteExecutionPlan (newDeferUsages, executionPlan , objectType, objectValue,
500
500
variableValues, serial, path, deferUsageSet, deferMap):
501
501
502
502
- If {path} is not provided, initialize it to an empty list.
503
503
- Let {newDeferMap} be the result of {GetNewDeferMap(newDeferUsages, path,
504
504
deferMap)}.
505
505
- Let {groupedFieldSet} and {newGroupedFieldSets} be the corresponding entries
506
- on {fieldPlan }.
506
+ on {executionPlan }.
507
507
- Allowing for parallelization, perform the following steps:
508
508
- Let {data} and {nestedIncrementalDataRecords} be the result of running
509
509
{ExecuteGroupedFieldSet(groupedFieldSet, objectType, objectValue,
@@ -749,7 +749,7 @@ Defer Usages contain the following information:
749
749
enclosing this ` @defer ` directive, if any, otherwise {undefined}.
750
750
751
751
The {parentDeferUsage} entry is used to build distinct Execution Groups as
752
- discussed within the Field Plan Generation section below.
752
+ discussed within the Execution Plan Generation section below.
753
753
754
754
Field Details Records are unordered maps containing the following entries:
755
755
@@ -878,14 +878,14 @@ Note: When completing a List field, the {CollectFields} algorithm is invoked
878
878
with the same arguments for each element of the list. GraphQL Services may
879
879
choose to memoize their implementations of {CollectFields}.
880
880
881
- ### Field Plan Generation
881
+ ### Execution Plan Generation
882
882
883
- BuildFieldPlan (originalGroupedFieldSet, parentDeferUsages):
883
+ BuildExecutionPlan (originalGroupedFieldSet, parentDeferUsages):
884
884
885
885
- If {parentDeferUsages} is not provided, initialize it to the empty set.
886
886
- Initialize {groupedFieldSet} to an empty ordered map.
887
887
- Initialize {newGroupedFieldSets} to an empty unordered map.
888
- - Let {fieldPlan } be an unordered map containing {groupedFieldSet} and
888
+ - Let {executionPlan } be an unordered map containing {groupedFieldSet} and
889
889
{newGroupedFieldSets}.
890
890
- For each {responseKey} and {groupForResponseKey} of {groupedFieldSet}:
891
891
- Let {filteredDeferUsageSet} be the result of
@@ -899,7 +899,7 @@ BuildFieldPlan(originalGroupedFieldSet, parentDeferUsages):
899
899
empty ordered map.
900
900
- Set the entry for {responseKey} in {newGroupedFieldSet} to
901
901
{groupForResponseKey}.
902
- - Return {fieldPlan }.
902
+ - Return {executionPlan }.
903
903
904
904
GetFilteredDeferUsageSet(fieldDetailsList):
905
905
@@ -1051,9 +1051,9 @@ deferUsageSet, deferMap):
1051
1051
- Let {objectType} be {ResolveAbstractType(fieldType, result)}.
1052
1052
- Let {groupedFieldSet} and {newDeferUsages} be the result of calling
1053
1053
{CollectSubfields(objectType, fieldDetailsList, variableValues)}.
1054
- - Let {fieldPlan } be the result of {BuildFieldPlan (groupedFieldSet,
1054
+ - Let {executionPlan } be the result of {BuildExecutionPlan (groupedFieldSet,
1055
1055
deferUsageSet)}.
1056
- - Return the result of {ExecuteFieldPlan (newDeferUsages, fieldPlan ,
1056
+ - Return the result of {ExecuteExecutionPlan (newDeferUsages, executionPlan ,
1057
1057
objectType, result, variableValues, false, path, deferUsageSet, deferMap)}.
1058
1058
1059
1059
CompleteListValue(innerType, fieldDetailsList, result, variableValues, path,
0 commit comments