-
Originally opened by @ekarlso in cuelang/cue#400 Can I somehow specify foo: []string | *[commonName] Usecase
And have the dnsNames be default to [commonName] if dnsNames is not passed. Is this doable? |
Beta Was this translation helpful? Give feedback.
Answered by
cueckoo
Jul 3, 2021
Replies: 1 comment
-
Original reply by @gogommartin in cuelang/cue#400 (comment) I'm new to Cue myself so this may not be correct, but I believe what you're looking for is:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cueckoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original reply by @gogommartin in cuelang/cue#400 (comment)
I'm new to Cue myself so this may not be correct, but I believe what you're looking for is: