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
Supplied -P "key=value" parameters are bound to registered configuration classes, overriding their defaults and/or file-based configuration.
Current behavior:
Supplied -P "key=value" parameters are not bound to registered configuration classes, despite being eventually known to the ConfigContext.
This is because the config class binding is done before the CLI parameters are processed, and it all is a bit of a mess.
That is, the in.spcct.spacedoc.exec.Setup#registerAll() gets called in order to register the modules to be loaded, but it also ends up setting up all the other things, which invokes config loading. This is done before the CLI parameters are loaded, because weirdness happens. See Clean up CLI option processing #36.
Expected behavior:
-P "key=value"parameters are bound to registered configuration classes, overriding their defaults and/or file-based configuration.Current behavior:
-P "key=value"parameters are not bound to registered configuration classes, despite being eventually known to the ConfigContext.in.spcct.spacedoc.exec.Setup#registerAll()gets called in order to register the modules to be loaded, but it also ends up setting up all the other things, which invokes config loading. This is done before the CLI parameters are loaded, because weirdness happens. See Clean up CLI option processing #36.Solution: