Skip to content

feat(audit): graphql-response+json parsing failure handling #149

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DoctorJohn
Copy link
Contributor

@DoctorJohn DoctorJohn commented Jun 25, 2025

This PR is adjacent to #145, and adds an audit check matching example 6.4.2.1.1.

Previously, we had no audit check validating that servers using the application/graphql-response+json media type SHOULD respond to not well-formed requests with status code 400.

For reference, here are the relevant parts of the spec:

Sidenote: I didn't find a convention for the audit IDs, so I generated a random one.

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