You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I know that kebab-case is not postgres convention, but unfortunately someone donked up and it is technically valid. I'm wondering if there's any way to work around this that isn't manually correcting the generated schema.d.ts
The text was updated successfully, but these errors were encountered:
Hmm, I fixed this for column names recently in #122. But I'm afraid I don't think there's any straightforward fix for tables, because IIRC TypeScript namespaces have to be valid JS identifiers.
Trying out zapatos on an existing codebase and ran into this problem.
If you have a table called
kebab-name
, it will generate something like this:Now I know that
kebab-case
is not postgres convention, but unfortunately someone donked up and it is technically valid. I'm wondering if there's any way to work around this that isn't manually correcting the generatedschema.d.ts
The text was updated successfully, but these errors were encountered: