Replies: 2 comments 3 replies
-
Discriminated unions are your friend |
Beta Was this translation helpful? Give feedback.
1 reply
-
You can use v.literal to define exact specific primitive value (string, bool, number) |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hi there,
I still don't get it.
Let's assume I got this schema:
Well, this does not work out for obvious reasons, but it tells you something: I would like to make the certificate required, if
tls
istrue
. Iftls
is nottrue
, no certificate is required.I still don't get it from the docs, what to do here. Can anyone help me out?
Beta Was this translation helpful? Give feedback.
All reactions