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

Generated code throws issues when using certain type of Table names #3241

Open
av153k opened this issue Sep 25, 2024 · 1 comment
Open

Generated code throws issues when using certain type of Table names #3241

av153k opened this issue Sep 25, 2024 · 1 comment

Comments

@av153k
Copy link

av153k commented Sep 25, 2024

Describe the bug

This might have been reported or might have been intentional but I noticed that generated code throws a lot of errors for a table with names corresponding to the below patterns.

If I named a table Addresses, the generated code breaks. (Basically a plural word that does not end in s but ends in es)
If I named a table Addresss, the generated code breaks.

There might be more such examples to be made here.

@simolus3
Copy link
Owner

Thanks for the report! I remember the issue, but I think this has been fixed in recent drift versions. Can you share which drift_dev version you're on?

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

2 participants