Hi! I am using Kotlin with Spring's @Value annotat...
# spring
f
Hi! I am using Kotlin with Spring's @Value annotation and I am getting unexpected results.
Copy code
@Value("\${email.address.override}")
private val addressOverride: String? = null
When I set the property in my application.yml file it returns the value of the property as expected. However, if I omit the property, it returns the name of the property (${email.address.override}) as the value instead of null as I would expect. Is this the intended behaviour?