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
I ran mikro-orm generate-entities against my Postgres database that has columns containing spaces, and the generate entity code also has spaces that make the code non-compilable:
First thank you for creating this awesome tool!
I ran
mikro-orm generate-entities
against my Postgres database that has columns containing spaces, and the generate entity code also has spaces that make the code non-compilable:As a quick fix replacing non-standard characters like whitespace with underscores would be great.
It would be useful in future to have options controlling column name mapping too, e.g. generating "start_time" or "startTime" instead.
The text was updated successfully, but these errors were encountered: