Skip to content

Conversation

@lvjp
Copy link

@lvjp lvjp commented Jul 18, 2020

Do not emit JSON when there is no error locations

Just conform to the spec :
7.1.2 If an error can be associated to a particular point in the
requested GraphQL document, it should contain an entry with the key
locations....

Just conform to the spec :
7.1.2 If an error can be associated to a particular point in the
requested GraphQL document, it should contain an entry with the key
locations....
@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.376% when pulling 3adb2f5 on lvjp:master into 9441c49 on graphql-go:master.

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.

2 participants