-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodetheme: property-editing-supporttype: bug
Milestone
Description
Describe the bug
Given the following classes:
@ConfigurationProperties("application.security")
public record SecurityProperties(List<UserProperties> users) {
}
public record UserProperties(String name, String password, List<String> roles) {
}
and the following application.yml
application:
security:
users:
- name: "user"
password: "password"
- name: "admin"
password: "secret"
roles: ["admin"]
The application.yml
editor will show:
Unknown property 'name' for type 'com.example.security.UserProperties'
If java classes with @ConstructorBinding
is used, no problems are identified.
To Reproduce
As described above.
Sample
https://github.com/philwebb/whats-new-in-spring-boot-3-0
Metadata
Metadata
Assignees
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodetheme: property-editing-supporttype: bug