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
Seems like the variable editor is broken in one of the recent releases.
Error message:
Example:
input UserCreateInput { role: Role! email: String password: String posts: PostCreateManyWithoutAuthorInput } mutation ($_data: UserCreateInput!) { createUser(data: $_data) { id } }
{ "_data": { "role": "CUSTOMER", "email": "testa10", "password": "testest" } }
The text was updated successfully, but these errors were encountered:
It seems that Playground always treats variables as optional even when they are used for a variable that is required.
Here's the error message so others can find this issue by searching:
Uncaught Error: Can only create NonNull of a Nullable GraphQLType but got
Sorry, something went wrong.
90af813
fix(graphql-playground-react): Fix variable editor
a8b20a7
Closes graphql#372
No branches or pull requests
Seems like the variable editor is broken in one of the recent releases.
Error message:
Example:
The text was updated successfully, but these errors were encountered: