-
Notifications
You must be signed in to change notification settings - Fork 42
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
fuzz:parser invalid input values #810
Labels
Comments
BrynCooke
added a commit
that referenced
this issue
Jan 22, 2024
As per the spec: https://spec.graphql.org/October2021/#Value Values should not be variables in a const context. The TLDR of this is that within schema definitions variables should bot be used on arguments. Within operations variables can should be used. Fixes #810
BrynCooke
added a commit
that referenced
this issue
Jan 22, 2024
As per the spec: https://spec.graphql.org/October2021/#Value Values should not be variables in a const context. The TLDR of this is that within schema definitions variables should bot be used on arguments. Within operations variables can should be used. Fixes #810
BrynCooke
added a commit
that referenced
this issue
Jan 22, 2024
* Add constness to input value generation. As per the spec: https://spec.graphql.org/October2021/#Value Values should not be variables in a const context. The TLDR of this is that within schema definitions variables should bot be used on arguments. Within operations variables can should be used. Fixes #810
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When executing
cargo fuzz run parser
documents are created with input values with variables e.g.This is invalid as per https://spec.graphql.org/October2021/#Value
Variables should not be used in a const context. This means that within a graphql schema variables should not be used, only within an operation.
The text was updated successfully, but these errors were encountered: