We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've got an enum in a PG database like this:
CREATE TYPE public."company_sizes" AS ENUM ( '1-10', '11-50', '51-100', '101-500', '501-1000', '1001-5000', '5000+');
The library generates an enum:
export enum CompanySizes { 110 = "1-10", 1150 = "11-50", 51100 = "51-100", 101500 = "101-500", 5011000 = "501-1000", 10015000 = "1001-5000", 5000 = "5000+", }
This brings up the error An enum member cannot have a numeric name.ts(2452)
An enum member cannot have a numeric name.ts(2452)
I don't think there is a way to overwrite the generated enum type so it would be nice to have an out-of-the-box functioning solution for this
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've got an enum in a PG database like this:
The library generates an enum:
This brings up the error
An enum member cannot have a numeric name.ts(2452)
I don't think there is a way to overwrite the generated enum type so it would be nice to have an out-of-the-box functioning solution for this
The text was updated successfully, but these errors were encountered: