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

breaking: drop deprecated graphql-java-support-api package #335

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

dariuszkuc
Copy link
Member

This PR drops the graphql-java-support-api package.

graphql-java v17 introduced new GraphQLContext mechanism which standardized how context should be utilized. Prior to v17, context could be of any object and it was up to the developers to decide how it should look like. This old "any" object context mechanism is currently deprecated and will be removed in future versions of graphql-java. "New" GraphQLContext standardizes the approach and is a simple wrapper around a map.

graphql-java-support-api contained single HTTPRequestHeaders interface that was used by old/deprecated context mechanism to indicate whether GraphQLContext ("any" object) supports federated tracing. Starting with v0.9.0, federation-jvm already supports FederationTracingInstrumentation through the new GraphQLContext map mechanism.

Resolves: #190

This PR drops the `graphql-java-support-api` package.

`graphql-java` v17 introduced new GraphQLContext mechanism which standardized how context should be utilized. Prior to v17, context could be of any object and it was up to the developers to decide how it should look like. This old "any" object context mechanism is currently deprecated and will be removed in future versions of `graphql-java`. New GraphQLContext standardizes the approach and is a simple wrapper around a map.

`graphql-java-support-api` contained single `HTTPRequestHeaders` interface that was used by old/deprecated context mechanism to indicate whether `GraphQLContext` ("any" object) supports federated tracing. Starting with [v0.9.0](https://github.com/apollographql/federation-jvm/releases/tag/v0.9.0), `federation-jvm` already supports `FederationTracingInstrumentation` through the new GraphQLContext map mechanism.

Resolves: apollographql#190
@dariuszkuc dariuszkuc added the change: major Breaking change, requires major version update label Jul 18, 2023
@dariuszkuc dariuszkuc merged commit 64c3a8d into apollographql:main Jul 20, 2023
2 checks passed
@dariuszkuc dariuszkuc deleted the drop_api_package branch July 20, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change: major Breaking change, requires major version update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[breaking] Deprecate and drop graphql-java-support-api module
1 participant