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] Add tagged_variadic tag #54749

Closed
wants to merge 1 commit into from

Conversation

Fan2Shrek
Copy link
Contributor

Q A
Branch? 7.2
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #54741
License MIT

This PR introduces a tagged_variadic very similar to the tagged_iterator except he takes advantage of the variadic parameters.
See #54741 example

I'm not sur if extending TaggedIteratorArgument is the best approach

Thanks to the people who are going to take time to review this ♥

@carsonbot carsonbot added this to the 7.1 milestone Apr 26, 2024
@Fan2Shrek Fan2Shrek force-pushed the feat/tagged_iterator branch 3 times, most recently from 516f1cd to 73eae20 Compare April 26, 2024 20:12
@Fan2Shrek Fan2Shrek changed the title [Dependency Injection] Add tagged_variadic to dependency injection [DependencyInjection] Add tagged_variadic to dependency injection Apr 26, 2024
@Fan2Shrek Fan2Shrek changed the title [DependencyInjection] Add tagged_variadic to dependency injection [DependencyInjection] Add tagged_variadic tag Apr 26, 2024
@symfony symfony deleted a comment from carsonbot Apr 27, 2024
@fabpot fabpot modified the milestones: 7.1, 7.2 Apr 27, 2024
@OskarStark OskarStark changed the title [DependencyInjection] Add tagged_variadic tag [DependencyInjection] Add tagged_variadic tag Apr 28, 2024
@nicolas-grekas
Copy link
Member

Closing as explained in #54741 (comment)
Thanks for proposing!

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.

Injecting all tagged services in a service by variadic constructor
5 participants