Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[DI] Fix false-positive circular ref leading to wrong exceptions or infinite loops at runtime #28060
When circular loops involve references in properties, method calls or configurators, it is possible to properly instantiate the related services.
The current logic is broken:
This PR fixes both classes by making them track which references are really part of the constructors' chain, including inline definitions.
It also fixes dumping infinite loops when dumping circular loops involving lazy services while proxy-manager-bridge is not installed.