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 have a table called Specimen. When generating classes, this is inflected to the (incorrectly derived) singular form Speciman. It is solved by adding the --noinflect flag, but it did confuse me at first. Maybe something to give as feed back to the inflection package?
Maybe something to give as feed back to the inflection package?
I agree. One way may be to have the tool print a message to STDERR whenever it comes up with a class name that differs from the table name. For example:
Notice: Derived singular class name `Addres` from plural table name `Address`
Notice: Derived singular class name `Speciman` from plural table name `Specimen`
Edit: oops! I misinterpreted the quoted statement to mean, "maybe show feedback to the user, related to the inflection package"... as opposed to, "maybe give feedback to the maintainers of the inflection package."
I have a table called
Specimen
. When generating classes, this is inflected to the (incorrectly derived) singular formSpeciman
. It is solved by adding the--noinflect
flag, but it did confuse me at first. Maybe something to give as feed back to the inflection package?Edit: opened as issue in the jazzband/inflect repo
The text was updated successfully, but these errors were encountered: