Skip to content

Commit 0ab2256

Browse files
committed
skip unnecessary filtering
if the asyncIterator's next method throws, no incremental payloads for the result are possible, similar to completing an asyncIterator without stream
1 parent 58eaf9d commit 0ab2256

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/execution/execute.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1965,7 +1965,6 @@ async function executeStreamIteratorItem(
19651965
} catch (rawError) {
19661966
const error = locatedError(rawError, fieldNodes, pathToArray(itemPath));
19671967
const value = handleFieldError(error, itemType, asyncPayloadRecord.errors);
1968-
filterSubsequentPayloads(exeContext, itemPath, asyncPayloadRecord);
19691968
// don't continue if iterator throws
19701969
return { done: true, value };
19711970
}

0 commit comments

Comments
 (0)