Skip to content
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

fix: handle contravariance problem when proxifying class with unserialize method #644

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

nikophil
Copy link
Member

@nikophil nikophil commented Jun 20, 2024

I'm monkey patching this in Foundry, since it is a blocker for several users.

fixes #639

see symfony/symfony#57460
We'll remove this code when the PR in Symfony will be released (it targets 6.4, so it will be enough to remove completely this code)

@nikophil nikophil changed the title fix: handle covariance problem when proxifying class with unserialize method fix: handle contravariance problem when proxifying class with unserialize method Jun 20, 2024
@nikophil nikophil requested a review from kbond June 20, 2024 13:19
@nikophil nikophil merged commit 50ae3dc into zenstruck:2.x Jun 20, 2024
28 checks passed
@nikophil nikophil deleted the fix/proxy-with-unserialize branch June 20, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Attribute wrapped in a Foundry Proxy is not compatible with Symfony\Component\VarExporter\LazyProxyTrait
2 participants