-
Notifications
You must be signed in to change notification settings - Fork 27
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
MicroProfileConfigASTValidator handles @ConfigProperties in a wrong way #304
Comments
When I look at Line 109 in 8ccfef8
Line 41 in 8ccfef8
I think quarkus-ls has a separate properties provider to handle ConfigProperties from that end also. |
Interesting, so immediately above that is line 186, which is Line 186 in 8ccfef8
So |
Yes because |
Fixes eclipse#304 Signed-off-by: David Thompson <davthomp@redhat.com>
Fixes eclipse#304 Signed-off-by: David Thompson <davthomp@redhat.com>
Fixes #304 Signed-off-by: David Thompson <davthomp@redhat.com>
To me it looks like we don't really support validation/completion for the deprecated ConfigProperties annotation from quarkus. Not sure if we need to though given that it should be done via the MP property. Either way, I think David's change should improve things. |
I created redhat-developer/quarkus-ls#759 to talk/fix this. Maybe the right solution is not validating the Quarkus |
MicroProfileConfigASTValidator
tries to locate@ConfigProperties
but it uses only the simple class name and not the fully qualified class name.As a result, it also works for Quarkus
@ConfigProperties
but it should located into the Quarkus specific part and it may wrongly process@ConfigProperties
annotations from other packages.The text was updated successfully, but these errors were encountered: