Play Framework PathBindable with Dependency Injection
问题 I'm migrating a Scala Play application to 2.5 and am currently moving my components to dependency injection. There's one place left where I'm at a loss how to do it though. I have a PathBindable implicit conversion defined in the companion object: object Task { implicit def pathBindable(implicit stringBinder: PathBindable[String]) = new PathBindable[Task] { ... } } The implementation of the PathBindable needs to look up the object from a repository, but I haven't found a way to dependency