Skip to content
New issue

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

Arguments can not be omitted #216

Open
peldax opened this issue Dec 3, 2021 · 0 comments
Open

Arguments can not be omitted #216

peldax opened this issue Dec 3, 2021 · 0 comments
Labels
Ctg - Spec incompatibility Something is not compliant with specification Status - Wontfix This will not be worked on

Comments

@peldax
Copy link
Member

peldax commented Dec 3, 2021

By specs, nullable arguments and input fields can be omitted from query, which is different from setting them to null.

  • For input fields it is supported using PHP 7.4+ uninitialized property.
  • For arguments, this is not possible without unnecessary magic/loss of type safety. Arguments are passed to resolve functions directly and it is not posslble to pass them uninitialized.

Graphpianator will always pass null as argument value for omitted arguments.

@peldax peldax added Status - Wontfix This will not be worked on Ctg - Spec incompatibility Something is not compliant with specification labels Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ctg - Spec incompatibility Something is not compliant with specification Status - Wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant