missing constructor parameter annotation reported as if member is missing annotation #37923
Labels
area/arc
Issue related to ARC (dependency injection)
area/user-experience
Will make us lose users
kind/enhancement
New feature or request
Milestone
Describe the bug
I had something like this:
and got:
I saw " - java member: dk.xam.hassq.HomeAssistantWS():token" and kept trying to change the member called token.
Even renamed it but still fail and it was not using the renamed token.
Spent a lot of time until i noticed the constructor. I hadn't thought about it being the constructor as it said "member" in error and the ObjectMapper was not mentioned as error.
Adding
@ConfigProperty(name="token")
String token solved it all but could we more explicilty say parameter or even constructor is the thing missing some more annotation?Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: