-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[VarExporter] Deprecate per-property lazy-initializers #52568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4909b25
to
28a78ea
Compare
Do you know any place where this feature has been used ? |
None. That's also why I'm proposing this :) |
😬 |
Looks like this is actually used... |
Here the PR to stop relying on this feature: doctrine/DoctrineBundle#1727 |
Thank you @nicolas-grekas. |
…azy object (nicolas-grekas) This PR was merged into the 7.0 branch. Discussion ---------- [VarExporter] Drop support for partially initialized lazy object | Q | A | ------------- | --- | Branch? | 7.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT Sidekick of #52568 Commits ------- 27650ef [VarExporter] Drop support for partially initialized lazy object
fabpot
This is a very late deprecation for a complex feature that we'd better drop ASAP IMHO.
Property hooks should be a better solution, even thought it's still WIP.