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. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i.e I have an object field
I expect
cover
itself is an optional, and if cover is being filled it should havename
andimage
. However this configuration requires to fill the properties as required. I tried to setrequired
to 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?
Beta Was this translation helpful? Give feedback.
All reactions