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

Revert to using "application/json" as default MIME type for GraphQL while remaining compatible with "application/graphql+json" #30860

Closed
bclozel opened this issue May 4, 2022 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented May 4, 2022

As seen in spring-projects/spring-graphql#375, Spring Boot should also use "application/json" as the default MIME type but remain compatible with "application/graphql+json" still if clients POST content with this type or explicitly accept it.

@bclozel bclozel added the type: enhancement A general enhancement label May 4, 2022
@bclozel bclozel added this to the 2.7.0 milestone May 4, 2022
@bclozel bclozel self-assigned this May 4, 2022
@bclozel bclozel closed this as completed in 5352c44 May 4, 2022
@wilkinsona wilkinsona changed the title Revert "application/graphql+json" as default MIME type for GraphQL Revert to using "application/json" as default MIME type for GraphQL while remaining compatible with "application/graphql+json" May 19, 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