Skip to content

Fix pagination fields losing parallel execution - #69

Merged
michaelstaib merged 2 commits into
mst/stream-v2from
mst/paging-parallel-flags-stream-v2
Oct 23, 2026
Merged

michaelstaib merged 2 commits into
mst/stream-v2from
mst/paging-parallel-flags-stream-v2

Conversation

@michaelstaib

Copy link
Copy Markdown
Owner

Brings the fix for ChilliCream#10166 to mst/stream-v2.

mst/stream-v2 still has the bug: the connection fields (edges, nodes, totalCount) and the collection segment fields (items, totalCount) lose their ParallelExecutable flag when a global field middleware is registered with UseField. They then run serially, and inside a deferred fragment the stream never completes.

Two cherry-picks, no other changes:

Tests on net10.0: Types.CursorPagination.Tests 187 passed, Types.OffsetPagination.Tests 41 passed, Execution.Tests 773 passed (3 skipped).

@michaelstaib
michaelstaib merged commit 06a0fab into mst/stream-v2 Oct 23, 2026
1 check passed
@michaelstaib
michaelstaib deleted the mst/paging-parallel-flags-stream-v2 branch October 23, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants