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
This FR is about adding sections inside the generated code for custom code, which will not be overridden by the generator.
Motivation for or Use Case
First generation is nice, buit as soon as you start implementing and changing code, you face the limitations of the generator. As soon as you want to change i.e Repository you face trouble.
Proposed Solution is as follows:
Entities and Repositories should have multiple predefined sections which allow to add custom code.
The same with //---CUSTOM-IMPORT-START--- to provide space for needed imports.
The generator will recognize the sections and just ignore them or reinsert them in the new generated file.
Related issues or PR
Not that I found any similar requests, but a lot of questions about the topic and workaround like side-by-side developement. There are even Tech talks about this.
[x ] Checking this box is mandatory (this is just to show you read everything)
The text was updated successfully, but these errors were encountered:
Overview of the feature request
This FR is about adding sections inside the generated code for custom code, which will not be overridden by the generator.
Motivation for or Use Case
First generation is nice, buit as soon as you start implementing and changing code, you face the limitations of the generator. As soon as you want to change i.e Repository you face trouble.
Proposed Solution is as follows:
Entities and Repositories should have multiple predefined sections which allow to add custom code.
The same with //---CUSTOM-IMPORT-START--- to provide space for needed imports.
The generator will recognize the sections and just ignore them or reinsert them in the new generated file.
Related issues or PR
Not that I found any similar requests, but a lot of questions about the topic and workaround like side-by-side developement. There are even Tech talks about this.
The text was updated successfully, but these errors were encountered: