Skip to content

[DependencyInjection] Don't ignore attributes on the actual decorator #50595

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

HypeMC
Copy link
Contributor

@HypeMC HypeMC commented Jun 7, 2023

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #49931
License MIT
Doc PR -

An attempt to fix #49931 without reintroducing the problem reported in #30391 and fixed by #30417. The idea here is that if the attribute is declared on the decorator itself, it shouldn't be ignored as it was explicitly added.

@nicolas-grekas
Copy link
Member

/cc @lyrixx can you check if this approach would work for you?

@nicolas-grekas
Copy link
Member

Thank you @HypeMC.

@nicolas-grekas nicolas-grekas merged commit 7723dca into symfony:5.4 Jul 7, 2023
@HypeMC HypeMC deleted the asdecorator-with-attributes branch July 7, 2023 06:52
This was referenced Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants