We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@Inject
microprofile-restclient(InjectAnnotationMissing)
Warning: The Rest Client object should have the @Inject annotation to be injected as a CDI bean. microprofile-restclient(InjectAnnotationMissing)
Quarkus documentation says
the client stub is injected with the @RestClient annotation instead of the usual CDI @Inject
@RestClient
Which one is correct? Should the warning or the Quarkus doc be updated?
If adding both @Inject and @RestClient is recommended, what's the equivalent with constructor injection? (sonarlint suggests it over field injection)
Related: #708
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Warning:
The Rest Client object should have the
@Inject
annotation to be injected as a CDI bean.microprofile-restclient(InjectAnnotationMissing)
Quarkus documentation says
Which one is correct? Should the warning or the Quarkus doc be updated?
If adding both
@Inject
and@RestClient
is recommended, what's the equivalent with constructor injection? (sonarlint suggests it over field injection)Related: #708
The text was updated successfully, but these errors were encountered: