Skip to content
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

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

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.

@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