@ConstructorBinding
@ConfigurationProperties(prefix = "myProps")
data class MyProperties(val configs: Map<String, MyCustomProperties>)
data class MyCustomProperties(val x: String, val y: Int)
This seems to work fine and properties are loaded correctly in the application context but I don't get any auto-completion in the yml/properties files for
MyCustomProperties
. Anyone knows whether it is possible to somehow provide the configuration metadata for the above that IntelliJ is able to understand?