I have HOCON config file: ``` { app { functi...
# announcements
m
I have HOCON config file:
Copy code
{
  app {
    function = "my-function"
  }
}
and following spec config:
Copy code
object AppSpec : ConfigSpec() {
  val function by required<String>()
}
How can I get value of function ("my-function") programatically? At the moment I have:
Copy code
private val appConfig = Config { addSpec(AppSpec) }
        .from.hocon.resource("app.conf")