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 use existing DB that uses camel case for field names and snake case for table names. Gorm seems to have hardcoded ToDBName() function that is not customizable.
our table looks like this:
product_skus {
skuId string
}
The text was updated successfully, but these errors were encountered:
With large no. of tables, I want to be able to define my casing logic in 10 lines instead of writing metadata on 100s of columns.. This is both painful and error prone.
Also, it is very easy to expose ToDBName() function to be modifiable.
I use existing DB that uses camel case for field names and snake case for table names. Gorm seems to have hardcoded ToDBName() function that is not customizable.
our table looks like this:
product_skus {
skuId string
}
The text was updated successfully, but these errors were encountered: