-
Notifications
You must be signed in to change notification settings - Fork 52
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
Depedency Injection: Diagnostic for handling more than one @Qualifier
#165
Comments
Is this diagnostic to warn users when they have a field/method with According to https://jakarta.ee/specifications/dependency-injection/2.0/apidocs/jakarta/inject/inject:
In the example above, how would we determine that Also see https://jakarta.ee/specifications/dependency-injection/2.0/apidocs/jakarta/inject/qualifier |
The diagnostic should show an error since it would not compile properly when annotated
Yes, that is correct.
I guess that does pose a problem. Maybe if the annotations appear in front of a type or alongside with an |
@Qualifier
According to spec
Closing this issue until more detailed error can be specified. |
Spec
Unchecked Errors:
@Qualifier
annotation is providedPotential Solution:
@Qualifier
Related to #153
The text was updated successfully, but these errors were encountered: