Closed goto-bus-stop closed 10 months ago
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
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