unitycontainer / microsoft-dependency-injection

Unity.Microsoft.DependencyInjection package
Apache License 2.0
63 stars 36 forks source link

Scoped containers not working with lamda registrations #29

Closed aarrgard closed 5 years ago

aarrgard commented 5 years ago

Hi, There seems to be an issue with types registered using lamda expressions and scopes.

Filed an issue requesting an added test to the dependency injection compatibility suite. https://github.com/aspnet/Extensions/issues/562. The problem and testcase are described better in that issue.

Perhaps this is related to https://github.com/unitycontainer/microsoft-dependency-injection/issues/28

// Andreas