Type Alias in Code generation #3512
Unanswered
DawnKosmos
asked this question in
Ideas
Replies: 1 comment
-
https://github.com/cubular-io/sqlcube If someone want to play with it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, We would love to see following optional feature in Code Generation for Golang.
If a Struct that matches in FieldName, Type and Order should not generate a new Type but a Type alias
I think it should be easy to implement
If someone wants to help me with this feature, I really appreciate it.
I wrote a tool that does this, after a sqlc generation, and it did not break our codebase.
Beta Was this translation helpful? Give feedback.
All reactions