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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make builder use null graphQLContext if null was provided #1607

Conversation

samuelAndalon
Copy link
Contributor

@samuelAndalon samuelAndalon commented Dec 6, 2022

馃摑 Description

graphql-java ExecutionInput Builder assings new graphQLContext map to the deprecated context Object if context was not specified, because of that the schema generation will fail when some deprecated resolvers that are still using the GraphQLContext interface making the reflections to fail with ClassCastException (expecting an implementation of the interface but getting a GraphQLContext map class impl)

@samuelAndalon samuelAndalon added the changes: patch Changes require a patch version label Dec 6, 2022
@samuelAndalon samuelAndalon added the module: server Issue affects the server code label Dec 6, 2022
@samuelAndalon samuelAndalon merged commit a059442 into ExpediaGroup:6.x.x Dec 6, 2022
@samuelAndalon samuelAndalon deleted the feat/deprecated-context-not-being-null branch December 6, 2022 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes: patch Changes require a patch version module: server Issue affects the server code
Development

Successfully merging this pull request may close these issues.

None yet

2 participants