grumpydev / TinyIoC

An easy to use, hassle free, Inversion of Control Container for small projects, libraries and beginners alike.
MIT License
830 stars 235 forks source link

Bubble open generic registrations from parent scopes #128

Closed coldacid closed 4 years ago

coldacid commented 5 years ago

Ensure that registered open generics can be resolved from child containers.

niemyjski commented 4 years ago

Any chance we can get a unit test for this?

coldacid commented 4 years ago

This should have made the existing Resolve_RegisteredOpenGenericInParent_CanBeResolvedByChild() test pass, but it doesn't. #137 is the correct way to get parent open generic registrations from a child container.