Skip to content

Add serial mutation execution - #1399

Closed
ddavison wants to merge 1 commit into
graphql-rust:masterfrom
arriveai:dj-issue-1398
Closed

ddavison wants to merge 1 commit into
graphql-rust:masterfrom
arriveai:dj-issue-1398

Conversation

@ddavison

Copy link
Copy Markdown
Contributor

Fix look-ahead and capacity defects in serial mutation collector

Untyped inline fragments inherited the caller's fragment context, degrading look_ahead() to SelectionSource::Spread; Object capacity was sized pre-flattening. Adds three guards covering the remaining is_excluded() and type_sub_executor() call sites, each confirmed failing pre-fix.

Closes #1398

Fix look-ahead and capacity defects in serial mutation collector

Untyped inline fragments inherited the caller's fragment context,
degrading `look_ahead()` to `SelectionSource::Spread`; `Object`
capacity was sized pre-flattening. Adds three guards covering the
remaining `is_excluded()` and `type_sub_executor()` call sites,
each confirmed failing pre-fix.
@ddavison

ddavison commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor Author

@ Maintainers, Let me know if you'd also like me to bump the Minor version to 0.18 👍

@ddavison

Copy link
Copy Markdown
Contributor Author

Failures appear related to nightly, and unrelated to this PR

@LegNeato LegNeato left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix! I finished it in #1407 with your commit.

@ddavison

Copy link
Copy Markdown
Contributor Author

Thank you for the fix! I finished it in #1407 with your commit.

Glad I could help! Thanks for getting to it 🙏

@ddavison
ddavison deleted the dj-issue-1398 branch November 5, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GraphQL specification violation: root mutation fields are executed concurrently instead of serially

2 participants