We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Spectaql seems unable to parse schemas with enum query parameter defaults.
Given this schema as an example:
type Query { records(sorting: [RecordSort!] = [{ direction: ASC }]): [Record]! } type Record { id: ID! name: ID! } input RecordSort { direction: SortDirection! } enum SortDirection { ASC DESC }
Spectaql fails with:
SyntaxError: JSON5: invalid character 'A' at 1:14
Putting quotes around ASC is something of a workaround, but seems wrong given it's not a String parameter.
ASC
Possibly related to #301?
The text was updated successfully, but these errors were encountered:
Probably not related but I'll dig in soon
Sorry, something went wrong.
Fix is coming via #400 but other flavors of this may pop up from time-to-time.
Fixed and published under v1.2.4.
1.2.4
Thanks very much for looking at this so quickly @newhouse!
You're welcome
newhouse
Successfully merging a pull request may close this issue.
Spectaql seems unable to parse schemas with enum query parameter defaults.
Given this schema as an example:
Spectaql fails with:
Putting quotes around
ASC
is something of a workaround, but seems wrong given it's not a String parameter.Possibly related to #301?
The text was updated successfully, but these errors were encountered: