Thanks. It appears to be the absence of an Either marshaller ( Result[T] is
an alias for Either[APIError,T] )
Is that something that was available in Spray, but not in Akka HTTP ?
I see this got merged:
https://github.com/akka/akka/pull/20274
but it's an Unmarshaller.

On Tue, Sep 20, 2016 at 3:18 AM, 'Johannes Rudolph' via Akka User List <
akka-user@googlegroups.com> wrote:

> Hi,
>
> On Tuesday, September 13, 2016 at 4:26:55 PM UTC+2, rrodseth wrote:
> > Is this the right way to debug the missing conversion?
> > val prm = implicitly[Future[PimpedResult[(StatusCode,
> Result[StatusDTO])]] => ToResponseMarshallable]
>
>
> Try
>
> implicitly[ToResponseMarshaller[Future[PimpedResult[(StatusCode,
> Result[StatusDTO])]]]
>
>
> then
>
>
> implicitly[ToResponseMarshaller[PimpedResult[(StatusCode,
> Result[StatusDTO])]]
>
>
> then
>
> implicitly[ToEntityMarshaller[Result[StatusDTO]]] // required by
> APICustomMarshallers.statusMarshaller
>
> or just
>
> statusMarshaller[Result[StatusDTO]]]
>
>
> and see which one still succeeds. Then you need to work back from the
> simple ones to the more complex types, trying to get those to work.
>
> HTH
> Johannes
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
> current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to