These are chat archives for hseeberger/akka-http-json

7th
Aug 2015
Amiri Barksdale
@amiri
Aug 07 2015 03:42
What does it mean in the docs when it says "Don't forget to provide the necessary format class instances"? I am trying to put together a tiny akka app that does "entity(as[CreateUser])", and keep getting ye olde "could not find implicit value for parameter um: akka.http.scaladsl.unmarshalling.FromRequestUnmarshaller[esakkacqrs.Domain.Commands.CreateUser].". Here's the code: https://gist.github.com/amiri/d2d6a38637f585de8782
Heiko Seeberger
@hseeberger
Aug 07 2015 04:49
@amiri, you probably need an implicit ExecutionContext. Take a look at the “official” example at https://github.com/hseeberger/akka-http-json/blob/master/akka-http-json4s/src/test/scala/de/heikoseeberger/akkahttpjson4s/ExampleApp.scala.
Amiri Barksdale
@amiri
Aug 07 2015 16:55
Thanks, @hseeberger. It looks like I had misadapted the official example.