hello, i have a question on beans DLS. is possible...
# spring
s
hello, i have a question on beans DLS. is possible to acces a ConfigurationProperties to iterate for creation beans ? a bit like this
Copy code
val beans = beans {
    val prop = env.getMyConfigurationProperties ????

    prop.aList.foreach{ it -> 
        bean { CustomBean(it) }
    }
}