Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DependencyInjection] Deprecate #[MapDecorated] in favor of #[AutowireDecorated] #49642

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
Mar 10, 2023

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 6.3
Bug fix? no
New feature? no
Deprecations? yes
Tickets -
License MIT
Doc PR -

#[Map*] are for controller argument resolvers.

#[Autowire*] should be used for autowiring (see #49628).

We could also rename #[TaggedLocator] and #[TaggedIterator] but I feel like the need is less obvious and the cost more important.

@nicolas-grekas nicolas-grekas requested a review from dunglas as a code owner March 8, 2023 17:14
@carsonbot carsonbot added this to the 6.3 milestone Mar 8, 2023
@nicolas-grekas nicolas-grekas force-pushed the di-autowire-decorated branch 3 times, most recently from ed702cb to 4a3390f Compare March 8, 2023 17:30
@OskarStark
Copy link
Contributor

We could also rename #[TaggedLocator] and #[TaggedIterator] but I feel like the need is less obvious and the cost more important.

I would keep them as explained 👍

@fabpot
Copy link
Member

fabpot commented Mar 10, 2023

Thank you @nicolas-grekas.

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.

4 participants