Schema: ability to represent union types? #371
Unanswered
DeaconDesperado
asked this question in
Q&A
Replies: 1 comment 1 reply
-
There's no support for this right now, but now's a good time to spec it out. Do you want to give it a shot? I think you'd need to add a new |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Consider the following KDL nodes: semantically they are named colors, and they can be defined using:
Assuming the node name represents the color name, how could one validate for the union type of
string | number | (number, number, number)
using the schema definition?Beta Was this translation helpful? Give feedback.
All reactions