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
Describe the issue that you're seeing.
Assume a schema with an input object:
input Input { optional: Boolean } type Query { field(arg: Input): Int }
And a query like this with an empty object:
{ field(arg: {}) }
Should parse without errors.
Error: syntax error: expected Object Value ╭─[/dev/fd/11:8:15] │ 8 │ field(arg: {}) │ ┬ │ ╰── expected Object Value ───╯
apollo-rs
apollo-parser
The text was updated successfully, but these errors were encountered:
fix(parser): object values can be empty, fixes #744 (#745)
ac7b5f2
* fix(parser): object values can be empty, fixes #744 * spaces * changelog * links
goto-bus-stop
Successfully merging a pull request may close this issue.
Description
Describe the issue that you're seeing.
Steps to reproduce
Assume a schema with an input object:
And a query like this with an empty object:
Expected result
Should parse without errors.
Actual result
Environment
apollo-rs
crate:apollo-parser
The text was updated successfully, but these errors were encountered: