Skip to content

Fix normative requirement around errors property #967

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

Closed
wants to merge 1 commit into from
Closed

Conversation

benjie
Copy link
Member

@benjie benjie commented Jun 22, 2022

Whilst reviewing #966 I spotted this; I don't believe this is a breaking change since it can be derived from:

The errors entry in the response is a non-empty list of errors, where each
error is a map.

So if no errors occur, then the "errors" key must not (rather than "should not") be present, since it's forbidden to be an empty list, it contains errors, and no errors occurred.

@benjie benjie requested a review from leebyron June 22, 2022 07:23
@netlify
Copy link

netlify bot commented Jun 22, 2022

Deploy Preview for graphql-spec-draft ready!

Name Link
🔨 Latest commit 7f541dd
🔍 Latest deploy log https://app.netlify.com/sites/graphql-spec-draft/deploys/62b2c3763891f50009a2a9ac
😎 Deploy Preview https://deploy-preview-967--graphql-spec-draft.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@benjie
Copy link
Member Author

benjie commented Sep 1, 2022

Changes were incorporated into #966

@benjie benjie closed this Sep 1, 2022
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