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
In the above example the requestScope container can use objects from rootScope as inputs.
Another option is to configure providers once and be able to reuse them, but it would require changing API to separate out the Container form ContainerConfig (which would solve the copy issue as well). Something like:
The basic idea is similar to the Spring one.
The strawman proposal is to support Container new that takes a parent container:
In the above example the requestScope container can use objects from rootScope as inputs.
Another option is to configure providers once and be able to reuse them, but it would require changing API to separate out the Container form ContainerConfig (which would solve the copy issue as well). Something like:
The text was updated successfully, but these errors were encountered: