optional
with default
is marked nullable in Output
type
#473
Unanswered
ItsMeBrianD
asked this question in
Q&A
Replies: 1 comment
-
It works as it should for me. You can have a look here in the playground. |
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
-
Doing my first exploration with Valibot this morning, and running into something that feels a little counterintuitive.
Given some schema:
Because
MyObjectType
is defined usingOutput
, I would expectarrayField
to be required, rather than being marked optional.Is this due to something I am doing incorrectly?
Beta Was this translation helpful? Give feedback.
All reactions