ipjohnson / Grace

Grace is a feature rich dependency injection container library
MIT License
336 stars 33 forks source link

Wrong scope used when locating in parent scope #170

Closed ipjohnson closed 6 years ago

ipjohnson commented 6 years ago

The wrong injection scope is being used when calling injectionScopeParent.LocateFromChildScope in InjectionScope.InternalLocate. This does not effect the disposal scope/tracking of objects as DisposalScope is separate from injection scope. This defect is only noticeable when working with child scopes and calling locate directly for dependencies.

Relates to issue #163

ipjohnson commented 6 years ago

Completed and will be part of 6.4.0