Closed Glunder0 closed 2 years ago
Two bugs for the price of one. Thanks for these very clear and reproducible bug reports.
I've got some bad news though, which is that I don't have a work around available and it might take some time for me to publish a new release that fixes these issues. ETA mid July.
This bug has been fixed in v5.4. It can be downloaded from NuGet.
When
DefaultScopedLifestyle
is set toScopedLifestyle.Flowing
collection elements that are registered as Scoped can be only resolved from the first scope. Trying to resolve them in any consequent scope throws an exception.And there is a difference in resolving scoped collections and resolving scoped single instances with
DefaultScopedLifestyle
set toScopedLifestyle.Flowing
.