lihaoyi/workbench-example-app

Akka-http demo doesn't compile

sergeda opened this issue · 0 comments

I'm getting error when trying to compile akka-http demo:

workbench-example-app/example/jvm/src/main/scala/example/Server.scala:56: type mismatch; [error] found : akka.http.scaladsl.server.Directive1[String] [error] (which expands to) akka.http.scaladsl.server.Directive[(String,)] [error] required: akka.http.scaladsl.server.RequestContext => ? [error] extract(entity(as[String])) { e => [error] ^ [error] one error found