title: Fail to wire play dependancies with Macwire
body: <p>i have a api service class that is dependent on play's Configuration and WSClient instancees.</p>
  
  <p>and I dont want to use @Inject() anotation cause I want to use compile-time injection with Macwire so what i did is this:</p>
  
  <pre><code>// this is a trait that here im wiring all the dependencies that my api service needs
  trait ApiDependencies {
  
    lazy val conf: Configuration = wire[Configuration]
    lazy val wsc: WSClient = wire[WSClient]
  
  }
  
  
  // this is the api service
  
  class ApiService extends ApiDependencies {
  
    def getInfo (id: String): Future[Option[Info]] = {
      wsc.url("...").withHttpHeaders(("Content-Type", "application/json")).get.map { response =&gt;
        response.status match {
          case Status.OK =&gt; ...
          case Status.NO_CONTENT =&gt; ...
          case _ =&gt; throw new Exception()
        }
      }
    }
  }
  </code></pre>
  
  <p>but I get a compiler error:</p>
  
  <blockquote>
    <p>Error: Cannot find a value of type: [com.typesafe.config.Config]<br>
    lazy val conf: Configuration = wire[Configuration]</p>
    
    <p>Error: Cannot find a public constructor nor a companion object for
    [play.api.libs.ws.WSClient]   lazy val wsc: WSClient = wire[WSClient]</p>
  </blockquote>
  
  <p>does someone knows how can I solve this issue...? and why is it happening :/</p>
  
  <p>thanks! </p>