Skip to content

For non-async servlet wait until GraphQL async operation finished. #470

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

Merged
merged 1 commit into from
Aug 16, 2022

Conversation

donbeave
Copy link
Contributor

Hello!

We just upgraded to the latest version of https://github.com/graphql-java-kickstart/graphql-spring-boot/releases/tag/v13.0.0. And found that all of our tests failed.

The reason because we are not using a sync servlet, but our GraphQL partially uses common ForkJoinPool for fetching fields and the result is that the current HttpRequestInvokerImpl is not waiting for the result to be loaded.

Copy link
Member

@oliemansm oliemansm left a comment

Choose a reason for hiding this comment

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

Thanks a lot! Had just noticed the same thing.

@oliemansm oliemansm merged commit 8f8bfb0 into graphql-java-kickstart:master Aug 16, 2022
@donbeave
Copy link
Contributor Author

@oliemansm can you release a hotfix?

@oliemansm
Copy link
Member

Yeah, will do that today.

@donbeave
Copy link
Contributor Author

Thank you so much!

@oliemansm
Copy link
Member

Done

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.

2 participants