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

Check for non-enum values on validation #227

Merged
merged 2 commits into from
Jun 25, 2022
Merged

Check for non-enum values on validation #227

merged 2 commits into from
Jun 25, 2022

Conversation

ameyarao98
Copy link
Contributor

According to this specification: https://spec.graphql.org/June2018/#sec-Enum-Value, true, false and null are not valid enum values. This PR adds validation for this.

@coveralls
Copy link

coveralls commented Jun 25, 2022

Coverage Status

Coverage increased (+0.009%) to 92.253% when pulling afce55a on AmeyaRao98:check_for_non+enum_values into 0e3e4c2 on vektah:master.

@ameyarao98 ameyarao98 changed the title Check for non -num values on validation Check for non-enum values on validation Jun 25, 2022
@StevenACoffman StevenACoffman merged commit 48f5a86 into vektah:master Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants