Skip to content

Commit fd1fb25

Browse files
committed
fix(stream): continue on iterator error values
if the iterator errors when attempting to get the next value, we can assume subsequent calls to next will also error, and abort, but if we successfully get the next value, but it ends up triggering an error, we can continue, optimistic that the next value will not do so.
1 parent 24330c0 commit fd1fb25

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/execution/execute.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,8 +1063,6 @@ function completeAsyncIteratorValue(
10631063
pathToArray(fieldPath),
10641064
);
10651065
handleFieldError(error, itemType, errors);
1066-
resolve(completedResults);
1067-
return;
10681066
}
10691067

10701068
const newIndex = index + 1;

0 commit comments

Comments
 (0)