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] Make auto-aliases private by default#42959

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

@nicolas-grekas
Copy link
Member

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

Replaces#41209

Before, this creates a public autoalias:

app.lock:tags:            -{ name: auto_alias, format: "app.%database_type%_lock" }

After, this creates a public autoalias:

app.lock:public:truetags:            -{ name: auto_alias, format: "app.%database_type%_lock" }

Omittingpublic: true will trigger a deprecation warning when the alias is accessed from$container->get(). In 6.0, the alias will be private by default ifpublic: true is not set.

HypeMC reacted with rocket emoji
@carsonbot
Copy link

Hey!

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

Cheers!

Carsonbot

@nicolas-grekas
Copy link
MemberAuthor

The remaining deprecation should be fixed by#42979

nicolas-grekas added a commit that referenced this pull requestSep 10, 2021
…deprecation (nicolas-grekas)This PR was merged into the 5.3 branch.Discussion----------[FrameworkBundle] fix session-related BC layer triggering deprecation| Q             | A| ------------- | ---| Branch?       | 5.3| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -Needed to make ##42959 green.Commits-------18ab810 [FrameworkBundle] fix session-related BC layer triggering deprecation
@nicolas-grekasnicolas-grekas merged commitf9c6958 intosymfony:5.4Sep 10, 2021
@nicolas-grekasnicolas-grekas deleted the private-auto-aliases branchSeptember 10, 2021 13:54
This was referencedNov 5, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@derrabusderrabusderrabus approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@carsonbot@derrabus

[8]ページ先頭

©2009-2025 Movatter.jp