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

[Feature Request] Support new Content-Type #373

Closed
bizzi-vinhvo opened this issue Aug 4, 2022 · 2 comments
Closed

[Feature Request] Support new Content-Type #373

bizzi-vinhvo opened this issue Aug 4, 2022 · 2 comments

Comments

@bizzi-vinhvo
Copy link

Some framework such as Quarkus,... return content-type: application/graphql+json; charset=UTF-8

Expectation: Support content-type: application/graphql+json in graphql-request

@Shane32
Copy link

Shane32 commented Aug 26, 2022

We have modified GraphQL.NET Server v7 to return a content type of application/graphql+json; charset=utf-8 by default, which was the current recommendation by the draft GraphQL over HTTP specification a couple weeks ago. The new recommendation, changed in graphql/graphql-over-http#215 10 days ago, now recommends application/graphql-response+json; charset=utf-8. I anticipate we will update GraphQL.NET Server to match.

See:

mlabrum added a commit to mlabrum/graphql-request that referenced this issue Nov 3, 2022
…plication/graphql-response+json content type
jasonkuhrt pushed a commit that referenced this issue Nov 3, 2022
…sponse+json content type (#406)

Co-authored-by: Matt Labrum <matthew.labrum@lynkz.com.au>
@knpwrs
Copy link

knpwrs commented Nov 20, 2022

It looks like this has been fixed in the source for a few weeks but hasn't been released to NPM. Is there an ETA for a release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants