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
If type isn't found, it's looked up in parent container and all of its dependencies are looked into parent container only. It doesn't look right to me if I have the following dependency tree:
Foo
Bar
Baz
Baz
Primary container has Foo and Baz. Parent container has Bar and Baz.
When building Foo from parent container it goes into parent container to get Bar. Baz is fetched from parent container despite the fact that we have it configured differently in the primary container.
The text was updated successfully, but these errors were encountered:
https://github.com/go-ozzo/ozzo-di/blob/master/container.go#L222
If type isn't found, it's looked up in parent container and all of its dependencies are looked into parent container only. It doesn't look right to me if I have the following dependency tree:
Primary container has
Foo
andBaz
. Parent container hasBar
andBaz
.When building
Foo
from parent container it goes into parent container to getBar
.Baz
is fetched from parent container despite the fact that we have it configured differently in the primary container.The text was updated successfully, but these errors were encountered: