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 generating Enums inherited from fastenum #973

Open
tyteen4a03 opened this issue Jul 2, 2024 · 0 comments
Open

Support generating Enums inherited from fastenum #973

tyteen4a03 opened this issue Jul 2, 2024 · 0 comments
Labels
kind/feature A request for a new feature. topic: generation

Comments

@tyteen4a03
Copy link
Contributor

Problem

fastenum is a 3rd party package that has an implementation of Enums that is 3x faster than traditional Enums, which is crucial for high-performance Python database applications.

Suggested solution

Allow the Prisma generator to generate Enums that inherit from fastenum, as an alternative to the built-in Enum class.

@RobertCraigie RobertCraigie changed the title Allow generating Enums inherited from fastenum Support generating Enums inherited from fastenum Aug 4, 2024
@RobertCraigie RobertCraigie added kind/feature A request for a new feature. topic: generation labels Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature A request for a new feature. topic: generation
Projects
None yet
Development

No branches or pull requests

2 participants