Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add error for enum #36

Closed
wants to merge 1 commit into from
Closed

add error for enum #36

wants to merge 1 commit into from

Conversation

ying-jeanne
Copy link
Collaborator

No description provided.

@sdboyer
Copy link
Contributor

sdboyer commented Nov 10, 2021

Wow, i can't believe it's been four weeks :/ But, that explains why i've lost so much context on this, and i can't remember a key question: did we agree that this case:

Compose: {
    localstr: LocalEnum | *"bax"
} @cuetsy(kind="interface")

actually should result in an error? If so, i can't remember my reasoning for saying it should, because looking at it now, it seems fine to me that we'd allow either the enum member, or a string, whether in typescript or CUE.

@sdboyer sdboyer closed this May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants