Skip to content

Support "application/graphql+json" media type in GraphQL HTTP mapping #30407

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

Closed
bclozel opened this issue Mar 24, 2022 · 0 comments
Closed

Support "application/graphql+json" media type in GraphQL HTTP mapping #30407

bclozel opened this issue Mar 24, 2022 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented Mar 24, 2022

As seen in spring-projects/spring-graphql#108, the GraphQL HTTP spec now requires the "application/graphql+json" media type and accepts "application/json" for backwards compatibility.

We should update the GraphQL HTTP functional handlers to reflect that.

@bclozel bclozel added the type: enhancement A general enhancement label Mar 24, 2022
@bclozel bclozel added this to the 2.7.0-RC1 milestone Mar 24, 2022
@bclozel bclozel self-assigned this Mar 24, 2022
@bclozel bclozel changed the title Accept "application/graphql+json" media type in GraphQL HTTP mapping Support "application/graphql+json" media type in GraphQL HTTP mapping Mar 24, 2022
@bclozel bclozel closed this as completed in 1c71567 Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant