@@ -334,9 +334,9 @@ serial):
334334- If {serial} is not provided, initialize it to {false}.
335335- Let {groupedFieldSet} and {newDeferUsages} be the result of
336336 {CollectFields(objectType, selectionSet, variableValues)}.
337- - Let {fieldPlan } be the result of {BuildFieldPlan (groupedFieldSet)}.
337+ - Let {executionPlan } be the result of {BuildExecutionPlan (groupedFieldSet)}.
338338- Let {data} and {incrementalDataRecords} be the result of
339- {ExecuteFieldPlan (newDeferUsages, fieldPlan , objectType, initialValue,
339+ {ExecuteExecutionPlan (newDeferUsages, executionPlan , objectType, initialValue,
340340 variableValues, serial)}.
341341- Let {errors} be the list of all _ field error_ raised while completing {data}.
342342- If {incrementalDataRecords} is empty, return an unordered map containing
@@ -493,20 +493,20 @@ BatchIncrementalResults(incrementalResults):
493493 of {hasNext} on the final item in the list.
494494 - Yield {batchedIncrementalResult}.
495495
496- ## Executing a Field Plan
496+ ## Executing an Execution Plan
497497
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.
501501
502- ExecuteFieldPlan (newDeferUsages, fieldPlan , objectType, objectValue,
502+ ExecuteExecutionPlan (newDeferUsages, executionPlan , objectType, objectValue,
503503variableValues, serial, path, deferUsageSet, deferMap):
504504
505505- If {path} is not provided, initialize it to an empty list.
506506- Let {newDeferMap} be the result of {GetNewDeferMap(newDeferUsages, path,
507507 deferMap)}.
508508- Let {groupedFieldSet} and {newGroupedFieldSets} be the corresponding entries
509- on {fieldPlan }.
509+ on {executionPlan }.
510510- Allowing for parallelization, perform the following steps:
511511 - Let {data} and {nestedIncrementalDataRecords} be the result of running
512512 {ExecuteGroupedFieldSet(groupedFieldSet, objectType, objectValue,
@@ -752,7 +752,7 @@ Defer Usages contain the following information:
752752 enclosing this ` @defer ` directive, if any, otherwise {undefined}.
753753
754754The {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.
756756
757757Field Details Records are unordered maps containing the following entries:
758758
@@ -881,14 +881,14 @@ Note: When completing a List field, the {CollectFields} algorithm is invoked
881881with the same arguments for each element of the list. GraphQL Services may
882882choose to memoize their implementations of {CollectFields}.
883883
884- ### Field Plan Generation
884+ ### Execution Plan Generation
885885
886- BuildFieldPlan (originalGroupedFieldSet, parentDeferUsages):
886+ BuildExecutionPlan (originalGroupedFieldSet, parentDeferUsages):
887887
888888- If {parentDeferUsages} is not provided, initialize it to the empty set.
889889- Initialize {groupedFieldSet} to an empty ordered map.
890890- 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
892892 {newGroupedFieldSets}.
893893- For each {responseKey} and {groupForResponseKey} of {groupedFieldSet}:
894894 - Let {filteredDeferUsageSet} be the result of
@@ -902,7 +902,7 @@ BuildFieldPlan(originalGroupedFieldSet, parentDeferUsages):
902902 empty ordered map.
903903 - Set the entry for {responseKey} in {newGroupedFieldSet} to
904904 {groupForResponseKey}.
905- - Return {fieldPlan }.
905+ - Return {executionPlan }.
906906
907907GetFilteredDeferUsageSet(fieldDetailsList):
908908
@@ -1055,9 +1055,9 @@ deferUsageSet, deferMap):
10551055 - Let {objectType} be {ResolveAbstractType(fieldType, result)}.
10561056 - Let {groupedFieldSet} and {newDeferUsages} be the result of calling
10571057 {CollectSubfields(objectType, fieldDetailsList, variableValues)}.
1058- - Let {fieldPlan } be the result of {BuildFieldPlan (groupedFieldSet,
1058+ - Let {executionPlan } be the result of {BuildExecutionPlan (groupedFieldSet,
10591059 deferUsageSet)}.
1060- - Return the result of {ExecuteFieldPlan (newDeferUsages, fieldPlan ,
1060+ - Return the result of {ExecuteExecutionPlan (newDeferUsages, executionPlan ,
10611061 objectType, result, variableValues, false, path, deferUsageSet, deferMap)}.
10621062
10631063CompleteListValue(innerType, fieldDetailsList, result, variableValues, path,
0 commit comments