File tree Expand file tree Collapse file tree 1 file changed +21
-20
lines changed Expand file tree Collapse file tree 1 file changed +21
-20
lines changed Original file line number Diff line number Diff line change @@ -1103,28 +1103,29 @@ function completeListValue(
1103
1103
// No need to modify the info object containing the path,
1104
1104
// since from here on it is not ever accessed by resolver functions.
1105
1105
const itemPath = addPath ( path , index , undefined ) ;
1106
+
1107
+ if (
1108
+ stream &&
1109
+ typeof stream . initialCount === 'number' &&
1110
+ index >= stream . initialCount
1111
+ ) {
1112
+ previousAsyncPayloadRecord = executeStreamField (
1113
+ path ,
1114
+ itemPath ,
1115
+ item ,
1116
+ exeContext ,
1117
+ fieldNodes ,
1118
+ info ,
1119
+ itemType ,
1120
+ stream . label ,
1121
+ previousAsyncPayloadRecord ,
1122
+ ) ;
1123
+ index ++ ;
1124
+ continue ;
1125
+ }
1126
+
1106
1127
try {
1107
1128
let completedItem ;
1108
-
1109
- if (
1110
- stream &&
1111
- typeof stream . initialCount === 'number' &&
1112
- index >= stream . initialCount
1113
- ) {
1114
- previousAsyncPayloadRecord = executeStreamField (
1115
- path ,
1116
- itemPath ,
1117
- item ,
1118
- exeContext ,
1119
- fieldNodes ,
1120
- info ,
1121
- itemType ,
1122
- stream . label ,
1123
- previousAsyncPayloadRecord ,
1124
- ) ;
1125
- index ++ ;
1126
- continue ;
1127
- }
1128
1129
if ( isPromise ( item ) ) {
1129
1130
completedItem = item . then ( ( resolved ) =>
1130
1131
completeValue (
You can’t perform that action at this time.
0 commit comments