EnumType throwing argument exception when adding values #5475
Unanswered
jimitndiaye
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following, relatively simple EnumType:
There doesn't seem much room for error here but every time I run the app I get an ArgumentException on the line where I set the Value saying
System.ArgumentException: '`100000000` is not a valid GraphQL type name. (Parameter 'value')'
or something similar with the following stack trace:What am I doing wrong? The documentation suggests I'm doing everything right (except I'm using int, instead of string as shown in the example).
Beta Was this translation helpful? Give feedback.
All reactions