-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Describe the bug
Per GraphQL spec, the error location should only be specified IF it can point to a valid location (i.e., starting with a positive column/row).
https://spec.graphql.org/draft/#sel-GAPHRPFCCaCGX5zM
This value was returned:
| public static final SourceLocation EMPTY = new SourceLocation(-1, -1); |
It is assigned here:
| SourceLocation location = sourceLocation == null ? SourceLocation.EMPTY : sourceLocation; |
To Reproduce
I don't have a Java environment on my machine, so I can't test it myself :(
Metadata
Metadata
Assignees
Labels
No labels