Closed sdeleuze closed 4 years ago
data class SampleProperties(val prop1: String = "default") complains about missing value even if we provide it via Kotlin default parameter value. This works fine with @ConfigurationProperties + @ConstructorBinding.
data class SampleProperties(val prop1: String = "default")
@ConfigurationProperties
@ConstructorBinding
data class SampleProperties(val prop1: String = "default")
complains about missing value even if we provide it via Kotlin default parameter value. This works fine with@ConfigurationProperties
+@ConstructorBinding
.