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
In reality people rarely follow it, due to KpmgWsUrl is easier to read than KPMGWSURL. However, sqlc also doesn't follow all acronyms, except for some reasons for ID. You may try this setting, but it seems not a wildcard so you will need to do it for all IDs.
@sergey-tb Thanks. If I use renaming settings conf then it's a never-ending amount of work.
Is it worth building a feature skipping initialisms for sqlc? As It says in go wiki
The code generated by the protocol buffer compiler is exempt from this rule. Human-written code is held to a higher standard than machine-written code.
And as go devs say - There's a never-ending list, we'll get it wrong, and it's simpler to stick with the current mechanical translation. (link)
@priyanshujain , I'm not a contributor of sqlc, but for sure agree initialism should be configured. I like how some linters do it, eg: initialism : ["id","url"]
I can see that
sqlc
createID
for every_id
field suffix. Is there any parameter so that it generated capitalizedId
instead of uppercaseID
suffix.For ex. currently it does
I want to do
@kyleconroy Please help here.
The text was updated successfully, but these errors were encountered: