Replies: 6 comments
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
@zdunecki can I ask you if you use the code from https://gqlgen.com/recipes/modelgen-hook/ is the generator generating resolvers files? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Yes, I'm using This proposal ensures to make snakecase json tags as an option. The first way is to extend core implementation. |
Beta Was this translation helpful? Give feedback.
-
Yes please. It can help other people too. |
Beta Was this translation helpful? Give feedback.
-
I've created a gist for that. |
Beta Was this translation helpful? Give feedback.
-
What happened?
I would like to get a customized JSON tag key in generated models.
What did you expect?
Proposal
PackageConfig
struct.Current status
I'm using
Modelgen hook
to achieve this but I need separate.go
file with boilerplate. I think it would be nice to have this feature in a native way.Similar issue: #824
Beta Was this translation helpful? Give feedback.
All reactions