[DI][DX] Raise a warning at build-time if lazy=true is encountered, but ProxyManager bridge is not present #27865
Labels
DependencyInjection
DX
DX = Developer eXperience (anything that improves the experience of using Symfony)
Description
The docs says:
This detail is vital to the functionality of lazy services (which might be yours or 3rd-party bundles', relying on it for specific features) and having it silently not working is confusing at best.
I propose DI raises a build-time warning for each
lazy=true
service if the bridge is not present.The text was updated successfully, but these errors were encountered: