Replies: 1 comment
|
I don't have an "optional" attribute that would allow you to do that. However, in the new version I'm using Zod under the hood for validation, so it should be fairly easy to implement. |
0 replies
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.e I have an object field
I expect
coveritself is an optional, and if cover is being filled it should havenameandimage. However this configuration requires to fill the properties as required. I tried to setrequiredto the object field itself but doesn't seem to change its behavior.Is there something I miss to mark as a field as an optional?
All reactions