Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding missed properties on IncrementalExecutionResultImpl.Builder.from #3593

Conversation

Juliano-Prado
Copy link
Contributor

Adding two missed properties on IncrementalExecutionResultImpl.Builder.from

@@ -91,6 +91,8 @@ public Builder incrementalItemPublisher(Publisher<DelayedIncrementalPartialResul
public Builder from(IncrementalExecutionResult incrementalExecutionResult) {
super.from(incrementalExecutionResult);
this.hasNext = incrementalExecutionResult.hasNext();
this.incremental = incrementalExecutionResult.getIncremental();
this.incrementalItemPublisher = incrementalExecutionResult.getIncrementalItemPublisher();
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps you were already in the progress of doing it. Could you please add a test for this?

Copy link
Member

Choose a reason for hiding this comment

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

Test please

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added the tests, check out: src/test/groovy/graphql/incremental/IncrementalExecutionResultTest.groovy

…Test.groovy

Co-authored-by: dondonz <13839920+dondonz@users.noreply.github.com>
@bbakerman bbakerman added this pull request to the merge queue Jun 1, 2024
Merged via the queue into graphql-java:master with commit 481854e Jun 1, 2024
1 check passed
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.

3 participants