Closed jw3 closed 8 years ago
Configuration values can be @Named bound
So if you had a config
app { net { host = "foo" port = 1234 } }
Injections would look something like
val host: String = inject[String] named "app.net.host" val port: Int = inject[Int] named "app.net.port"
Configuration values can be @Named bound
So if you had a config
Injections would look something like