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

Support renaming an enum member #4372

Closed
JoshLove-msft opened this issue Sep 9, 2024 · 0 comments · Fixed by #4485
Closed

Support renaming an enum member #4372

JoshLove-msft opened this issue Sep 9, 2024 · 0 comments · Fixed by #4485
Assignees
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Comments

@JoshLove-msft
Copy link
Contributor

Support https://github.com/Azure/autorest.csharp/blob/main/readme.md#renaming-an-enum-member

@JoshLove-msft JoshLove-msft added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Sep 9, 2024
@jorgerangel-msft jorgerangel-msft self-assigned this Sep 18, 2024
github-merge-queue bot pushed a commit that referenced this issue Sep 23, 2024
This PR adds support for customizing enum member names, including in the
serialization code for an enum.

Fixes: #4372
github-merge-queue bot pushed a commit that referenced this issue Nov 21, 2024
fix #2284 
fix #809

Extracted the parser change from pr #4372 and made it more generic to
cover also issue #809
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants