Skip to content

List of String type enforcement and default #400

Answered by cueckoo
cueckoo asked this question in General
Discussion options

You must be logged in to vote

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:

dnsNames: [...string] | *[commonName]

Replies: 1 comment

Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by cueckoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant