redhat-developer / redhat-developer/vscode-quarkus
The Rest Client object should have the `@Inject` annotation to be injected as a CDI bean. `microprofile-restclient(InjectAnnotationMissing)`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 79
- Forks
- 31
- Avg merge
- 12h 51m
- Merged PRs (30d)
- 6
Description
Warning:
The Rest Client object should have the @Inject annotation to be injected as a CDI bean. microprofile-restclient(InjectAnnotationMissing)
According to the docs, @Inject is not required.
the client stub is injected with the
@RestClientannotation instead of the usual CDI@Inject
- Update:
Related: https://github.com/redhat-developer/vscode-quarkus/issues/708
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by locating the implementation of the microprofile-restclient(InjectAnnotationMissing) warning and compare its behavior with the linked Quarkus documentation and related issue. Done means valid @RestClient injection no longer produces this warning, with regression coverage for the reported case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100