-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
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:
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels