[akka-user] akka http - could not find implicit value for parameter um: akka.http.scaladsl.unmarshalling.FromRequestUnmarshaller

2015-10-22 Thread Roberts Guļāns
Hello, everyone here is my code, that throws error mentioned in the subject. It seesm that some implicit values are missing, but i can't figure it out :( import akka.actor.ActorSystem import akka.http.scaladsl.Http import akka.http.scaladsl.server.Directives._ import

Re: [akka-user] akka http - could not find implicit value for parameter um: akka.http.scaladsl.unmarshalling.FromRequestUnmarshaller

2015-10-22 Thread Konrad Malawski
Hi there, what you've provided using DefaultJsonProtocol._ is Format objects (from spray json) to and from Boolean/Integer etc. Then you've provided a Format for your case class – so far so good. The problem here is that Akka Http does not know anything about Spray Json, as we want to allow

Re: [akka-user] akka http - could not find implicit value for parameter um: akka.http.scaladsl.unmarshalling.FromRequestUnmarshaller

2015-10-22 Thread Roberts Guļāns
Thanks. At last it compiles. You saved my day :) On Thursday, October 22, 2015 at 8:31:18 PM UTC+3, Konrad Malawski wrote: > > Hi there, > what you've provided using DefaultJsonProtocol._ is Format objects (from > spray json) to and from Boolean/Integer etc. > Then you've provided a Format for