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

[FrameworkBundle] fix registering late resettable services#43981

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:4.4fromnicolas-grekas:reset-reg
Nov 10, 2021

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

ResettableServicePass must run after other passes that could potentially register more resettable services (egHttpClientPass)

$this->addCompilerPassIfExists($container, FormPass::class);
$container->addCompilerPass(newWorkflowGuardListenerPass());
$container->addCompilerPass(newResettableServicePass());
$container->addCompilerPass(newResettableServicePass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, -32);
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be good to also updateResettableServicePassTest with the same type and priority

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit3a2b2da intosymfony:4.4Nov 10, 2021
@fabpotfabpot deleted the reset-reg branchNovember 10, 2021 07:51
This was referencedNov 14, 2021
This was referencedNov 22, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

+2 more reviewers

@rmikalkenasrmikalkenasrmikalkenas left review comments

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

5 participants

@nicolas-grekas@fabpot@ogizanagi@rmikalkenas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp