-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse Engineer: allow customizing the model after it is generated, before being passed to code gen #3077
Comments
This is |
I think this item was to track how the application developer would do it, not the provider. @rowanmiller? |
Ah, yes. Who are "folks"? |
😄 |
Reopening for now. |
I didn't undertand if templating via .cshtml is being definitely replaced for the |
We have decided to leave the choice of a template based code-gen technology open for now. It is true that Razor enabled plugging in your own pluralization logic... after all you can do pretty much anything with it, but it also leads to complicated templates that mix concerns like this with the actual code generation. One of the ideas we decided to explore is to provide a hook that allows any customization of the model (covered by this issue) plus very simple code gen at the end that just binds to the resulting model and focuses only on what code to generate and its formatting. |
Closing in favor of #4038 |
We want a simple "seam" where folks can get the
Model
just before it is passed to code generation and manipulate it. This is particularly important since we are removing templating for the moment.The text was updated successfully, but these errors were encountered: