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

Enum names are not preserved #30

Open
javibookline opened this issue Nov 28, 2022 · 2 comments
Open

Enum names are not preserved #30

javibookline opened this issue Nov 28, 2022 · 2 comments

Comments

@javibookline
Copy link

Enums which are part of a pydantic model are translated to a type, losing relevant and useful information that could be kept if they were translated to enums in typescript too

@robbieaverill
Copy link

This is most likely a duplicate of #15

@kevinhikaruevans
Copy link

+1.

This would be nice considering I'm using enum names in backend and I would prefer not to use just the enum values in my frontend (which are nearly meaningless without the names).

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

No branches or pull requests

3 participants