File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -1253,7 +1253,6 @@ async function completeAsyncIteratorValue(
1253
1253
break ;
1254
1254
}
1255
1255
1256
- const itemPath = addPath ( path , index , undefined ) ;
1257
1256
let iteration ;
1258
1257
try {
1259
1258
// eslint-disable-next-line no-await-in-loop
@@ -1272,17 +1271,15 @@ async function completeAsyncIteratorValue(
1272
1271
break ;
1273
1272
}
1274
1273
1275
- const item = iteration . value ;
1276
-
1277
1274
containsPromise = completeMaybePromisedListItemValue (
1278
- item ,
1275
+ iteration . value ,
1279
1276
completedResults ,
1280
1277
graphqlWrappedResult ,
1281
1278
exeContext ,
1282
1279
itemType ,
1283
1280
fieldDetailsList ,
1284
1281
info ,
1285
- itemPath ,
1282
+ addPath ( path , index , undefined ) ,
1286
1283
incrementalContext ,
1287
1284
deferMap ,
1288
1285
) ;
@@ -1407,8 +1404,6 @@ function completeIterableValue(
1407
1404
1408
1405
// No need to modify the info object containing the path,
1409
1406
// since from here on it is not ever accessed by resolver functions.
1410
- const itemPath = addPath ( path , index , undefined ) ;
1411
-
1412
1407
containsPromise = completeMaybePromisedListItemValue (
1413
1408
item ,
1414
1409
completedResults ,
@@ -1417,7 +1412,7 @@ function completeIterableValue(
1417
1412
itemType ,
1418
1413
fieldDetailsList ,
1419
1414
info ,
1420
- itemPath ,
1415
+ addPath ( path , index , undefined ) ,
1421
1416
incrementalContext ,
1422
1417
deferMap ,
1423
1418
) ;
You can’t perform that action at this time.
0 commit comments