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
As discussed in #72, AppSettings is used at various places during shell commands.
However, the instance retrieved is the one defined in restx-shell context, not the one defined in the potential current application.
It means if default values such as restx.targetClasses or restx.archive.excludes are overriden in your app, these properties won't be used in restx-shell which will rely on default values.
Potential solution to this problem cover :
Loading the app DI context, on a separate classloader dedicated to the app classes & libraries. Hard thing here will be to reproduce the DI bootstrapping process and instances communication between shell's classloader and app's classloader (classes footprints won't be the same, first because in different classloaders, second because restx-shell's restx-core version will be different than your app's restx-core version)
The text was updated successfully, but these errors were encountered:
imported from restx/restx#79
As discussed in #72,
AppSettings
is used at various places during shell commands.However, the instance retrieved is the one defined in restx-shell context, not the one defined in the potential current application.
It means if default values such as
restx.targetClasses
orrestx.archive.excludes
are overriden in your app, these properties won't be used inrestx-shell
which will rely on default values.Potential solution to this problem cover :
restx-core
version will be different than your app'srestx-core
version)The text was updated successfully, but these errors were encountered: