Marcin Wiśniewski
08/29/2019, 6:24 PM{
app {
function = "my-function"
}
}
and following spec config:
object AppSpec : ConfigSpec() {
val function by required<String>()
}
How can I get value of function ("my-function") programatically?
At the moment I have:
private val appConfig = Config { addSpec(AppSpec) }
.from.hocon.resource("app.conf")