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] fix auto-refresh when inline_factories is enabled#44010

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
fabpot merged 1 commit intosymfony:5.4fromnicolas-grekas:di-proxy
Nov 12, 2021

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#43956
LicenseMIT
Doc PR-

This is more an improvement than a bugfix to me, thus the 5.4 target.

Wheninline_factories is set, we also inline proxy classes in the dumped container.
This breaks auto-refreshing the cache when a proxyfied class is removed (as described in the linked issue).
This PR fixes the issue by dumping proxy classes in a newproxy-classes.php file. This file is loaded only after the cache has been checked, when the container is initialized.

@carsonbot
Copy link

Hey!

I think@maxime-aknin has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commitd168881 intosymfony:5.4Nov 12, 2021
@nicolas-grekasnicolas-grekas deleted the di-proxy branchNovember 13, 2021 14:10
This was referencedNov 14, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

[HttpKernel][DependencyInjection][ProxyManager] Class loading error with inline factories

3 participants

@nicolas-grekas@carsonbot@fabpot

[8]ページ先頭

©2009-2025 Movatter.jp