@@ -361,7 +361,7 @@ YieldIncrementalResults(data, errors, incrementalDataRecords):
361
361
let {result} be the corresponding completed result.
362
362
- If {data} on {result} is {null}:
363
363
- Initialize {completed} to an empty list.
364
- - Let {parents} be the parent nodes of {deferredGroupedFieldSetRecord }.
364
+ - Let {parents} be the parent nodes of {executionGroup }.
365
365
- Initialize {completed} to an empty list.
366
366
- For each {pendingResult} of {parents}:
367
367
- Append {GetCompletedEntry(parent, errors)} to {completed}.
@@ -683,7 +683,7 @@ variableValues, serial, path, deferUsageSet, deferMap):
683
683
variableValues, path, deferUsageSet, newDeferMap)} _ serially_ if {serial} is
684
684
{true}, _ normally_ (allowing parallelization) otherwise.
685
685
- Let {incrementalDataRecords} be the result of
686
- {ExecuteDeferredGroupedFieldSets (objectType, objectValue, variableValues,
686
+ {ExecuteExecutionGroups (objectType, objectValue, variableValues,
687
687
newGroupedFieldSets, path, newDeferMap)}.
688
688
- Append all items in {nestedIncrementalDataRecords} to
689
689
{incrementalDataRecords}.
@@ -702,7 +702,7 @@ GetNewDeferMap(newDeferUsages, path, deferMap):
702
702
- Set the entry for {deferUsage} in {newDeferMap} to {newDeferredFragment}.
703
703
- Return {newDeferMap}.
704
704
705
- ExecuteDeferredGroupedFieldSets (objectType, objectValue, variableValues,
705
+ ExecuteExecutionGroups (objectType, objectValue, variableValues,
706
706
newGroupedFieldSets, path, deferMap):
707
707
708
708
- Initialize {incrementalDataRecords} to an empty list.
@@ -712,7 +712,7 @@ newGroupedFieldSets, path, deferMap):
712
712
- Let {deferredFragment} be the entry for {deferUsage} in {deferMap}.
713
713
- Append {deferredFragment} to {deferredFragments}.
714
714
- Let {incrementalDataRecord} represent the future execution of
715
- {ExecuteDeferredGroupedFieldSet (groupedFieldSet, objectType, objectValue,
715
+ {ExecuteExecutionGroup (groupedFieldSet, objectType, objectValue,
716
716
variableValues, deferredFragments, path, deferUsageSet, deferMap)},
717
717
incrementally completing {deferredFragments} at {path}.
718
718
- Append {incrementalDataRecord} to {incrementalDataRecords}.
@@ -723,8 +723,8 @@ newGroupedFieldSets, path, deferMap):
723
723
Note: {incrementalDataRecord} can be safely initiated without blocking
724
724
higher-priority data once any of {deferredFragments} are released as pending.
725
725
726
- ExecuteDeferredGroupedFieldSet (groupedFieldSet, objectType, objectValue,
727
- variableValues, path, deferUsageSet, deferMap):
726
+ ExecuteExecutionGroup (groupedFieldSet, objectType, objectValue, variableValues ,
727
+ path, deferUsageSet, deferMap):
728
728
729
729
- Let {data} and {incrementalDataRecords} be the result of running
730
730
{ExecuteGroupedFieldSet(groupedFieldSet, objectType, objectValue,
0 commit comments