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

Do we still need @knownValues now that we can do union with string option? #3009

Closed
timotheeguerin opened this issue Mar 8, 2024 · 0 comments · Fixed by #3094
Closed

Do we still need @knownValues now that we can do union with string option? #3009

timotheeguerin opened this issue Mar 8, 2024 · 0 comments · Fixed by #3094
Assignees
Labels
deprecation A previously supported feature will now report a warning and eventually be removed triaged:core
Milestone

Comments

@timotheeguerin
Copy link
Member

timotheeguerin commented Mar 8, 2024

We kept it as it was a way to define a set of known values for a string when azure was just using enum and fixed but now that we can use named union with a string option and name values this feels just more verbose with no benefit

@markcowl markcowl added this to the [2024] April milestone Mar 11, 2024
@markcowl markcowl added deprecation A previously supported feature will now report a warning and eventually be removed triaged:core and removed needs-area labels Mar 11, 2024
@timotheeguerin timotheeguerin self-assigned this Apr 2, 2024
timotheeguerin added a commit that referenced this issue Apr 2, 2024
fix #3009

---------

Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation A previously supported feature will now report a warning and eventually be removed triaged:core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants