Netflix / dgs-framework

GraphQL for Java with Spring Boot made easy.
https://netflix.github.io/dgs
Apache License 2.0
3.06k stars 295 forks source link

Content-Type 'application/graphql' is no longer supported with graphql-dgs-spring-graphql-starter? #2016

Open martinvisser opened 2 hours ago

martinvisser commented 2 hours ago

Before I qualify this as a potential bug I just wanted to ask if application/graphql should still be supported as media type after switching from graphql-dgs-spring-boot-starter to graphql-dgs-spring-graphql-starter? This used to be a valid media type as used in DgsRestController, but after switching to the new starter this controller is no longer used. Spring supports application/json and application/graphql-response+json, and deprecated support for application/graphql+json, but I don't see support for application/graphql.

martinvisser commented 2 hours ago

Vice versa, it seems that application/graphql-response+json is not supported in DgsRestController.