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

float based enums are generated as int #4724

Closed
ArcturusZhang opened this issue May 17, 2024 · 0 comments · Fixed by #4725
Closed

float based enums are generated as int #4724

ArcturusZhang opened this issue May 17, 2024 · 0 comments · Fixed by #4725
Assignees
Labels
DPG v3 Version 3 of AutoRest C# generator.

Comments

@ArcturusZhang
Copy link
Member

ArcturusZhang commented May 17, 2024

Describe the issue or request

See here:

Its corresponding tsp:

@doc("Float based extensible enum")
union FloatExtensibleEnum {
    float32,
    One: 1.0,
    Two: 2.0,
    Four: 4.0,
}
@ArcturusZhang ArcturusZhang added v3 Version 3 of AutoRest C# generator. DPG labels May 17, 2024
@ArcturusZhang ArcturusZhang self-assigned this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DPG v3 Version 3 of AutoRest C# generator.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant