Fix IncrementalExecutionResult.transform() to preserve incremental fields by AndreaRomani · Pull Request #4073 · graphql-java/graphql-java

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@AndreaRomani

Copy link

Contributor

Summary

Fixes the transform() method in IncrementalExecutionResultImpl to return an IncrementalExecutionResult that preserves all incremental-specific field values instead of losing them.

Changes

  • Updated IncrementalExecutionResultImpl.transform() to preserve incremental, hasNext, and incrementalPublisher fields
  • Improved IncrementalExecutionResultTest with comprehensive test coverage for the transform behavior

Fixes #4072

Copy link

Member

@bbakerman bbakerman left a comment

Choose a reason for hiding this comment

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

Thanks for this

@bbakerman bbakerman added this to the 25.x breaking changes milestone

Aug 2, 2025

@bbakerman

This comment was marked as off-topic.

@dondonz

Copy link

Member

dondonz commented

Aug 3, 2025

@bbakerman was that comment intended for another thread?

@bbakerman

Copy link

Member

Yes it was - I have hidden the comment

@bbakerman bbakerman merged commit a194715 into graphql-java:master

Aug 11, 2025

1 check passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@bbakerman bbakerman bbakerman approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

25.x breaking changes

Development

Successfully merging this pull request may close these issues.

IncrementalExecutionResult.transform() loses incremental-specific fields

3 participants

@AndreaRomani @bbakerman @dondonz