Closed av153k closed 1 month ago
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?
Sorry for the late response. I am currently on drift_dev version 2.9.1. Should I upgrade to a newer version?
Yes, the fix is https://github.com/simolus3/drift/commit/29a30eb80796100ef73a1c15b2cea9d2ea361745 which has first been released with drift_dev
version 2.20.0. Please let me know if you still run into this issue after upgrading.
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 ins
but ends ines
) If I named a tableAddresss
, the generated code breaks.There might be more such examples to be made here.