Skip to content

Deprecate support of the application/graphql+json media type #915

Open

Description

@Shane32

In graphql/graphql-over-http#161 this was added to the draft spec:

A server MUST support requests from clients with HTTP header Content-Type: application/graphql+json indicating that the body of the request is a JSON document with a GraphQL request.

GraphQL.NET Server v7 supports both the application/json and application/graphql+json media types for requests.

This media type has been removed in graphql/graphql-over-http#175 where we have this:

The following are the officially recognized GraphQL media types to designate using the JSON encoding for GraphQL requests:

Name Description
application/json Standard type for GraphQL JSON requests

Although no change is required, we may wish to note in the source that support was removed for this media type within the current draft spec.

Activity

  1. changed the title [-]Deprecate support of application/graphql+json requests[/-] [+]Deprecate support of the `application/graphql+json` media type[/+] on Sep 4, 2022
  2. sungam3r commented on Sep 5, 2022

    @sungam3r
    Member

    WOW. For me it is unexpected.

  3. sungam3r commented on Sep 5, 2022

    @sungam3r
    Member
  4. added this to the 8.0 milestone on Oct 18, 2023
  5. removed this from the 8.0 milestone on Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions