Skip to content

Move application/json responses to Appendix A#379

Open
martinbonnin wants to merge 7 commits intomainfrom
appendix-a
Open

Move application/json responses to Appendix A#379
martinbonnin wants to merge 7 commits intomainfrom
appendix-a

Conversation

@martinbonnin
Copy link
Copy Markdown
Contributor

@martinbonnin martinbonnin commented Apr 2, 2026

Follow up from #370

Move the application/json responses to a separate appendix to keep the spec easy to parse and implement (see also #329).

The main normative change is the requirement to support application/graphql-response+json. In a nutshell:

- A GraphQL server MUST support responses using at least one of the official GraphQL response media types.
+ A GraphQL server MUST support responses using the `application/graphql-response+json` media type.

All the rest is moving legacy parts of the spec to an appendix for better readability.

Servers can (and probably should) support both media types for better compatibility.

This is our one opportunity at a clean slate, let's keep the entropy and LLM contexts low.

@martinbonnin martinbonnin changed the title Add Appendix A -- application/json responses Move application/json responses to Appendix A Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant