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
If this were implemented then it would be helpful to allow additional initialisms with command line arguments. For example in my use case I have schemas referring to MW (megawatts) and would like that initialised too.
I'm happy to work on this but I want to check if the change would be accepted before starting.
The text was updated successfully, but these errors were encountered:
This is a reasonable request so please feel free to submit a PR
One thing that should be done though is preserve the current behavior to avoid breaking changes. Maybe a flag can be introduced to specify which case to use?
Names produced by
avrogo
do not follow idiomatic Go capitalisation/initialisation rules. (e.g. useID
rather thanid
orId
).This can be reproduced with the following schema
avrogo
generatesbut an idiomatic representation would be
There are third-party libraries available to achieve this (e.g. github.com/hamba/avro uses github.com/ettle/strcase's PascalCase).
If this were implemented then it would be helpful to allow additional initialisms with command line arguments. For example in my use case I have schemas referring to
MW
(megawatts) and would like that initialised too.I'm happy to work on this but I want to check if the change would be accepted before starting.
The text was updated successfully, but these errors were encountered: