You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spring Boot: 2.2.1.RELEASE
Operating System: Mac OS 10.14.6 (Mojave)
Kotlin 1.3.60
When I added @Validated annotation to an immutable configuration properties class (using @ConstructorBinding), actuator configprops does not display its fields.
For example:
@Validated
@ConfigurationProperties(prefix ="prop.validated")
@ConstructorBinding
data classValidatedProp(
valfield:String
)
Spring Boot: 2.2.1.RELEASE
Operating System: Mac OS 10.14.6 (Mojave)
Kotlin 1.3.60
When I added
@Validated
annotation to an immutable configuration properties class (using@ConstructorBinding
), actuatorconfigprops
does not display its fields.For example:
actuator does not display its fields:
This configuration properties class is correctly initialized and not impacted in my application.
When I remove either
@Validated
or@ConstructorBinding
, actuator seems to display its properties correctly.Here is my example project:
demo2.zip
The text was updated successfully, but these errors were encountered: