Description
If you're having a generation problem please answer these questions before submitting your issue. Thanks!
What version of SQLBoiler are you using (sqlboiler --version
)?
v2.5.1
Hi there,
Currently SQLBoiler generates JSON tags in snake_case
. For us, we would like to have the option to generate json tags in camelCase
according to https://google.github.io/styleguide/jsoncstyleguide.xml?showone=Property_Name_Format#Property_Name_Format.
It can easily be done with a change to the templates, however it would be nice to have this as an option at time of generation, either in the config or as an argument in to the binary.
We're preparing a fork and we'll do all the work but I'd like some input on what the best option might be to accomplish this.
I've done a cursory review of the repo and I haven't seen an easy way to pass data from configuration to the template parser.
Thoughts on this?
Thanks