Repository navigation
2.5.9
Fix for delegate arguments in dependency cycles
Pure.DI 2.5.8 could generate a reference to a delegate argument outside the lambda that supplied it, causing C# compiler error CS0103. This happened when a dependency in a cycle was also reachable directly from a composition root. #204
The generator now resolves the dependency using the values available on each path. A path through the delegate can use its argument. A path that bypasses the delegate uses an available binding or reports DIE000 if the dependency cannot be resolved.
Full Changelog: 2.5.8...2.5.9