Skip to content

Fix normative requirement around errors property - #967

Closed
benjie wants to merge 1 commit into
mainfrom
errors-must
Closed

Fix normative requirement around errors property#967
benjie wants to merge 1 commit into
mainfrom
errors-must

Conversation

@benjie

@benjie benjie commented Jun 22, 2022

Copy link
Copy Markdown
Member

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

netlify Bot commented Jun 22, 2022

Copy link
Copy Markdown

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

benjie commented Sep 1, 2022

Copy link
Copy Markdown
Member Author

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