ok, heres my issue. In a service, I load an entire namespace (using the scatter-plugin-all plugin), iterate over the modules and register new modules in a new namespace depending on certain configuration. this part works as expected
the issue is, when I then try to load all of the new namespace in another module, i receive an empty object, unless i load twice. my guess is this has something to do with the caching mechanism and the fact that the new namespace is registered after startup
first off, awesome project!
ok, heres my issue. In a service, I load an entire namespace (using the
scatter-plugin-all
plugin), iterate over the modules and register new modules in a new namespace depending on certain configuration. this part works as expectedthe issue is, when I then try to load all of the new namespace in another module, i receive an empty object, unless i load twice. my guess is this has something to do with the caching mechanism and the fact that the new namespace is registered after startup
any ideas on what I'm doing wrong?