using ABP Suite, how is it possible to change what is set in ABP suite without redoing all the work that has been put in to the controllers etc?
- ABP Framework version: v4.2.1
- UI type: / MVC
- DB provider: EF Core /
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:
5 Answer(s)
-
0
Hi,
Suite overrides any changes on created files when you re-crete them. You can copy your changes to somewhere and re-apply them after re-creation.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi Surely this isn’t great for a user experience.
would a 'if file not default' then copy content to temp file and put back after migrations? as part of using the Suite.
this is a premium product of ABP and the usability of the suite isn’t that great in this regard
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi jon, yes it would be great if Suite will keep your changes. this is a task on our milestone. this is hard to implement because it's not always replacing a file with a newer one but sometimes modifying an existing class. (Forexample Suite changes some information in DbContext classes.) So this is a known drawback and we'll try to cover this gap.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
even comment the changes. and say this is saved in this location. then I can do the changes + Migration and carry on with my code.
OR in Suite it shows what the changes have been without just wiping out the code. then in suite it could ask do you want to put i back? yes no etc
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
are you using some source control platform something like GitHub? if so commit your changes before generating the entity and you can easily see the difference. this can allow you to pick your custom code to the new one
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)