I have collection of config params. I want register it in container to inject into my services as init settings.
Some of params depends of request context on ssr. In this case I create child container and register them in child container.
I have to write many code to do these actions, beacouse container.register method does not take collection of providers, although @registry does this action.
It will be cool if i can create container and child container with initial collection of providers. For example
I have collection of config params. I want register it in container to inject into my services as init settings.
Some of params depends of request context on ssr. In this case I create child container and register them in child container.
I have to write many code to do these actions, beacouse container.register method does not take collection of providers, although @registry does this action.
It will be cool if i can create container and child container with initial collection of providers. For example