-
ABP Framework version: v8.0.0
-
UI Type: Angular
-
Database System: EF Core (SQL Server)
-
Tiered (for MVC) or Auth Server Separated (for Angular): no
-
Exception message and full stack trace:
-
Steps to reproduce the issue:
Hello,
we have a solution, but we imported the source code of the account module to make some changes.
Now we are trying to upgrade our project, and there are some changes also in the module, for example regarding the IdentitySession.
How do we also update the module, not only nuget packages and angular packages, but also the code, without losing our changes?
Also, packages inside of the imported module are not upgraded with the update command.
Thank you
3 Answer(s)
-
0
Hi, When you import a module's source code into your application and use it as a local reference, upgrading it through the ABP CLI only updates the package version—it does not synchronize changes between the two versions. Currently, there is no command available for this purpose.
The best approach is to manually re-install the module by deleting the previous version and adding the updated one in the same directory if there are changes between versions.
Best regards,
-
0
Hello,
I saw here https://abp.io/support/questions/7797/NullInjectorError-No-provider-for-InjectionToken-OPENAUTHORITYDELEGATIONMODAL
that it would it be better to create a library based on the abp module.
Could you provide a guide on how to do it?Thank you
-
0
Hello,
I saw here https://abp.io/support/questions/7797/NullInjectorError-No-provider-for-InjectionToken-OPENAUTHORITYDELEGATIONMODAL
that it would it be better to create a library based on the abp module.
Could you provide a guide on how to do it?Thank you
Hi, in the related question, Masum suggests to change the only relevant part that you need to customize instead of installing the source code. When you follow his approach, then you only need to update the related customizated components and align the changes on them. It might be an easier approach if you are not changing too many components. (See the related suggestion: https://abp.io/support/questions/7797/NullInjectorError-No-provider-for-InjectionToken-OPENAUTHORITYDELEGATIONMODAL#answer-3a14d843-fd08-8a5c-9b01-50f6539bc522)
But in fact, there is no change between this approach and my own suggestion fundamentally. This means you need to manually synch the related components/services.
Best regards.