Skip to content

[DependencyInjection] Fix deduplicating service instances in circular graphs #48791

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
Dec 28, 2022

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Spotted while inspecting a non trivial service graph.

We're missing a few isset checks to dedup services created when circular refs involve lazy services.

@nicolas-grekas nicolas-grekas merged commit 2a2b72c into symfony:5.4 Dec 28, 2022
@nicolas-grekas nicolas-grekas deleted the di-fix branch December 28, 2022 14:39
nicolas-grekas added a commit to nicolas-grekas/symfony that referenced this pull request Jan 12, 2023
…vice instances in circular graphs"

This reverts commit 2a2b72c, reversing
changes made to e7ec8a6.
nicolas-grekas added a commit to nicolas-grekas/symfony that referenced this pull request Jan 12, 2023
…vice instances in circular graphs"

This reverts commit 2a2b72c, reversing
changes made to e7ec8a6.
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.

2 participants