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