What is the functional bean equivalent of construc...
# spring
d
What is the functional bean equivalent of constructor injection of a value
Copy code
@Value("\${some.value:default}") someValue: String
k
Constructor(@Value(“${some.value:default}“) someValue: String, …) : This will works fine as I think.
d
Hey, thx for your reply, but I don´t have a constructor in the functional beans DSL
k
class AnyClass(@Value(“${some.value:default}“) someValue: String) {}