Possibility to inject code into the generated code by codegen #14363
Answered
by
chrisglein
ClaudiuHBann
asked this question in
Q&A
-
Hello, is there possible to add for example a new property in each struct when codegen is generating code or after it generated? |
Beta Was this translation helpful? Give feedback.
Answered by
chrisglein
Mar 20, 2025
Replies: 1 comment 3 replies
-
If you have a property you're exposing in the codegen that you add to your spec it should be added to the codegen. Is there some functionality you think the codegen is missing? More information on your scenario would help? There are no generic hooks behind that common flow. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The right path here might be for you to fork the files in question and add the hooks you need, show in context how you'd make it, and if it seems generally useful put together a PR. If it seems generally usable, there could be a path forward. And if not, you've unblocked yourself with your own forks.