Skip to content

[VarExporter] Remove "lazyObjectId" from LazyGhostTrait because it doesn't seem to do anything #19722

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

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

mickaelblondeau
Copy link
Contributor

Hello,

If I didn't miss any hidden dynamic resolving black magic, the variable "lazyObjectId" doesn't seem to have any uses for LazyGhost to work, if that's the case, I made the modification to remove this potentially missleading part of the documentation

Remove "lazyObjectId" from LazyGhostTrait because it doesn't seem to do anything
@xabbuh
Copy link
Member

xabbuh commented Mar 28, 2024

friendly ping @alexandre-daubois as you contributed this in #17785

@alexandre-daubois
Copy link
Member

This was a requirement in the early days of lazy ghosts implementation, and I think it is indeed not necessary anymore. The README of VarExporter doesn't mention it. I think it is safe to remove 😊

@javiereguiluz
Copy link
Member

Good catch Mickael! Thanks and congrats on your first Symfony Docs contribution 🎉

@javiereguiluz javiereguiluz merged commit 4e0fbbd into symfony:6.4 Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants