Skip to content

Conversation

@kfwerf
Copy link
Contributor

@kfwerf kfwerf commented Jan 3, 2023

Fix FieldValidationInstrumentation to forward the state

Fixes #3065

Fix FieldValidationInstrumentation to forward the `state`
@dondonz
Copy link
Member

dondonz commented Jan 4, 2023

Thanks! Could you also add a test that would have failed with the old behaviour, and would be fixed with your change?

Adds test for chainedInstrumentation which exerts different e2e behaviour
@kfwerf
Copy link
Contributor Author

kfwerf commented Jan 5, 2023

Thanks! Could you also add a test that would have failed with the old behaviour, and would be fixed with your change?

Done! Added one for ChainedInstrumentation

@kfwerf
Copy link
Contributor Author

kfwerf commented Jan 11, 2023

@dondonz any thoughts on this PR? We are blocked with upgrading until this gets resolved

@dondonz dondonz added this to the 21.0 milestone Jan 12, 2023
Copy link
Member

@dondonz dondonz 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 finding the bug & writing the fix!

@dondonz dondonz merged commit e44b854 into graphql-java:master Jan 12, 2023
@dondonz
Copy link
Member

dondonz commented Jan 12, 2023

The master build version containing this fix will be available in Maven in a few minutes. Keep in mind one change between v20 and current master was the change from Java 8 to Java 11.

FYI we usually bundle up a few PRs together for a small release, so this fix will be included in the next release. In the meantime, you can use the master build version to get unblocked now.

@kfwerf
Copy link
Contributor Author

kfwerf commented Jan 12, 2023

cool, thank you @dondonz ! Appreciate the quickness on all of this :)

@andimarek andimarek modified the milestones: 21.0, April 2023 Mar 21, 2023
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.

FieldValidationInstrumentation.beginExecuteOperation does not forward the state and throws assertionerror

5 participants