Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DependencyInjection] Defer check for circular references instead of skipping them#59810

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

biozshock
Copy link
Contributor

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
LicenseMIT

Allow Dependency injection to check for circular references for lazy services, if they ever appear as "non-lazy" later during the compilation.
The issue happens when one of injected references happen to be in a service locator and injected into another service.

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'm sorry but the test passes without any changes to CheckCircularReferencesPass...

@biozshock
Copy link
ContributorAuthor

@nicolas-grekas Yep. The service locator was not processed.

@OskarStarkOskarStark changed the title[DependencyInjection] Defer check for circular references instead of skipping them.[DependencyInjection] Defer check for circular references instead of skipping themFeb 19, 2025
@nicolas-grekas
Copy link
Member

Good catch, thanks@biozshock.

biozshock reacted with thumbs up emoji

@nicolas-grekasnicolas-grekas merged commitd6e0af4 intosymfony:6.4Feb 20, 2025
10 of 11 checks passed
This was referencedFeb 26, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas requested changes

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

3 participants
@biozshock@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp