-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Support injecting a list of Spring beans #5668
Comments
Is this about |
This is the code snipped that does not work in Spring DI module, but works on Spring: |
Yes, in Quarkus one can use If possible we should provide support for the latter syntax. |
The behavior is a bit tricky since there can also be producers with return type From my quick tests, Spring prefers injecting first the collection of matching CDI (Weld) only considers the Should it be a change in Arc (to have same defaulting logic as Spring), or rather spring-di extension to re-write the relevant |
@rquinio the second solution is mostlikely the way to go |
This is now possible due to the existence of Arc's `@All` Fixes: quarkusio#5668
This is now possible due to the existence of Arc's `@All` Fixes: quarkusio#5668
This is now possible due to the existence of Arc's `@All` Fixes: quarkusio#5668
Support injecting a list of Spring beans
Originally brought up by @tpenakov
The text was updated successfully, but these errors were encountered: