-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
addTypeDefs crashes with argument having default enum value #221
Comments
vladar
changed the title
addTypeDefs crashes when creating a type with default enum value
addTypeDefs crashes with argument having default enum value
Nov 4, 2019
Note that it also works correctly as long as the enum is defined before. |
For graphql-compose v7 it's fixed. For v6 which is used by Gatsby needs to wait a little bit more. |
nodkz
added a commit
that referenced
this issue
Nov 4, 2019
Fixed in graphql-compose@6.3.7 and graphql-compose@7.4.3 Please reopen the issue if the error stays. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce:
Expected result:
Doesn't throw
Actual result
Throws:
But when deleting a default value everything works as expected
First noticed in gatsbyjs/gatsby#19210
The text was updated successfully, but these errors were encountered: