-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Bugs with yup v1 and arrays of non nullable #359
Comments
may be related to yup jquense/yup#1890 ? |
@erwan-joly mmm, The link mentioned to Yup v0.32 not v1. Could you give me the QuestionAnswerInputSchema as GraphQL Schema? |
yep it's happening for me in v1 and was fine before the upgrade but thats the only thing close to my issue i could find.
|
I tried this schema and type-checked with Do you use You can try it!
|
I only use will test that asap |
@Code-Hex I've been able to reproduce the error
Seems to be due to nested type with custom scalar field. as This schema would not fire an error
|
@erwan-joly Thanks! I submitted issue in yup |
It seems like their is some issues with array and nullable types
Results in this error:
For some reasons it seems like the system believe all properties of QuestionAnswerInputSchema should be nullable but in the end gets some required property and fail.
The text was updated successfully, but these errors were encountered: