-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
undefined fields shouldn't be used when checking enum #142
Comments
Yeah, the same is true when If someone could quote the spec on how this should be handled I'd be happy to fix it 👍 |
I think the main issue is that In my opinion, |
Ah, of course, that is true. Yeah, I also think that we should treat |
It'll probably make calculating |
If a field is
undefined
and the schema specifies it as being an enum, it errors out saying"must be an enum value"
.I think the logical approach here would be to skip that field unless
isRequired
is set totrue
on it as wellThe text was updated successfully, but these errors were encountered: