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 propose enhancing enumer to allow specifying different transformation methods for different marshaling types.
Our team currently implements custom GraphQL and JSON marshaling methods based on UPPER_SNAKE_CASE and snake_case representations, respectively. It'd be extremely helpful if enumer can generate both for us while keeping the current representations.
I suppose the feature will accept a transformation method via the value of each marshaling flag as shown below.
-gqlgen=snake-upper -json=snake
If this sounds like a good feature to add, I am ready and willing to contribute to its implementation.
The text was updated successfully, but these errors were encountered:
I propose enhancing enumer to allow specifying different transformation methods for different marshaling types.
Our team currently implements custom GraphQL and JSON marshaling methods based on UPPER_SNAKE_CASE and snake_case representations, respectively. It'd be extremely helpful if enumer can generate both for us while keeping the current representations.
I suppose the feature will accept a transformation method via the value of each marshaling flag as shown below.
-gqlgen=snake-upper -json=snake
If this sounds like a good feature to add, I am ready and willing to contribute to its implementation.
The text was updated successfully, but these errors were encountered: