-
Notifications
You must be signed in to change notification settings - Fork 206
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
YAML Property completion: Superclass properties not detected in case of List or Map #449
Comments
Reproducible. I tried it in Eclipse but it's the same issue since uses same language server under the hood. |
Thanks for the nice and detailed bug report and example by the way. |
(comment in Pivotal Tracker added by Kris De Volder:) Pushed a fix. |
(comment in Pivotal Tracker added by Kris De Volder:) Verfied the fix with a vscode snapshot build. Delivering. Note: Did not verify the Eclipse build, I think the change is still working it's way through the slow build pipeline. |
Thanks for the fast fix @kdvolder :) |
Hi,
I am using Spring Boot Tools 1.16.0 in VS Code. I am observing a problem with property completion in application.yaml files, that occurs whenever a property (
bar
) is defined in a superclass (SuperclassProperties
) of a type (NestedProperties
), that can be provided as a List or Map (nested
). The property (bar
) is not found in that case and reported as invalid, only properties defined in the child class (foo
) work correctly.If the property
nested
is not defined as a list or map (private NestedProperties nested
), thebar
property is explicitly listed in thespring-configuration-metadata.json
file and code-completion works as expected.Example:
As you can see, only
foo
is suggested, but notbar
:The text was updated successfully, but these errors were encountered: