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

[Lock] fix(documentation): reorder service id on target attribute#21531

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
javiereguiluz merged 1 commit intosymfony:6.4fromLaurentQ56:patch-1
Oct 27, 2025

Conversation

@LaurentQ56
Copy link
Contributor

When I use the name of named configuration with suffix.lock.factory, the service was not found.

After adebug:container LockFatory, I see the service ID islock.xxx.factory.xxx being the named configured lock wanted.

My version is 6.4, but I haven't checked whether this error is still present in the current version.

When I use the name with suffix `.lock.factory`, the service was not found.After a `debug:container LockFatory`, I see the service ID is `lock.xxx.factory`. `xxx` being the named service wanted.
@carsonbotcarsonbot added this to the6.4 milestoneOct 23, 2025
@carsonbotcarsonbot changed the titlefix(documentation): reorder service id on target attribute fix(documentation): reorder service id on target attributeOct 23, 2025
@carsonbotcarsonbot changed the title fix(documentation): reorder service id on target attribute[Lock] fix(documentation): reorder service id on target attributeOct 27, 2025
Copy link
Member

@javiereguiluzjaviereguiluz left a comment
edited
Loading

Choose a reason for hiding this comment

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

@javiereguiluzjaviereguiluz merged commitf44e21d intosymfony:6.4Oct 27, 2025
3 checks passed
@LaurentQ56
Copy link
ContributorAuthor

Looking at the code:

https://github.com/symfony/symfony/blob/a8aacb860335ac1e3bf75931ed43da5bbc483580/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L2096

Shouldn't both formats work? 🤔

With Symfony 6.4, when I used it in#[Traget] attribute, it throws a not found exception. 😕

javiereguiluz reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@javiereguiluzjaviereguiluzjaviereguiluz left review comments

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

3 participants

@LaurentQ56@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp