[akka-user] Re: Spray to Akka HTTP

2016-09-02 Thread Richard Rodseth
I've yet to test this out, but it compiles. Hope I'm on the right track. trait APIStatusMarshallers { implicit def errorMarshaller[T](implicit translator: ErrorTranslator[T], statusCodeMapper: ErrorToStatusCodeMapper, m:

[akka-user] Re: Spray to Akka HTTP

2016-09-02 Thread Richard Rodseth
I'm guessing the errorMarshaller and statusMarshaller shown (which use compose) need to be recast according to http://doc.akka.io/docs/akka/2.4.9/scala/http/common/marshalling.html#Deriving_Marshallers But that paragraph of documentation could really use an example. On Thu, Sep 1, 2016 at 3:19