You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that it is possible to assign an arbitrary default value for a field of a enum type (out of enum value set), and this value successfuly passes to the resolver without any warning or error. Is this okay?
I'd have expected the default value to be validated against the value set of the enum type in the same way as the real input value so that the value "customer1" will never get to the code.
The text was updated successfully, but these errors were encountered:
Hey.
I noticed that it is possible to assign an arbitrary default value for a field of a enum type (out of enum value set), and this value successfuly passes to the resolver without any warning or error. Is this okay?
Somewhere in the code:
I'd have expected the default value to be validated against the value set of the enum type in the same way as the real input value so that the value "customer1" will never get to the code.
The text was updated successfully, but these errors were encountered: