Closed
Description
[info] Compiling 4 Scala sources to /Users/kotsurm/Projects/aws-lambda-scala/target/scala-2.12/classes ...
[error] /Users/kotsurm/Projects/aws-lambda-scala/src/main/scala/io/github/mkotsur/aws/handler/Lambda.scala:65:51: could not find implicit value for parameter gen: shapeless.Generic[io.github.mkotsur.aws.proxy.ProxyRequest[T]]
[error] def GenericProxyRequestOf[T] = shapeless.Generic[ProxyRequest[T]]
[error] ^
[error] /Users/kotsurm/Projects/aws-lambda-scala/src/main/scala/io/github/mkotsur/aws/handler/Lambda.scala:75:30: could not find implicit value for parameter gen: shapeless.Generic[io.github.mkotsur.aws.proxy.ProxyRequest[String]]
[error] val reqList = Generic[ProxyRequest[String]].to(decodedRequestString)
[error] ^
[error] /Users/kotsurm/Projects/aws-lambda-scala/src/main/scala/io/github/mkotsur/aws/handler/Lambda.scala:76:16: could not find implicit value for parameter gen: shapeless.Generic[io.github.mkotsur.aws.proxy.ProxyRequest[T]]
[error] Generic[ProxyRequest[T]].from((bodyOption :: reqList.reverse.tail).reverse)
[error] ^
[error] /Users/kotsurm/Projects/aws-lambda-scala/src/main/scala/io/github/mkotsur/aws/handler/Lambda.scala:79:46: could not find implicit value for parameter canDecode: io.github.mkotsur.aws.handler.CanDecode[io.github.mkotsur.aws.proxy.ProxyRequest[String]]
[error] for (decodedRequest$String <- CanDecode[ProxyRequest[String]].readStream(is);
[error] ^
[error] /Users/kotsurm/Projects/aws-lambda-scala/src/main/scala/io/github/mkotsur/aws/handler/Lambda.scala:104:29: could not find implicit value for parameter encoder: io.circe.Encoder[io.github.mkotsur.aws.proxy.ProxyResponse[String]]
[error] output.write(response.asJson.noSpaces.getBytes)
[error] ^
[error] 5 errors found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 6 s, completed 17 Apr 2018, 13:57:02
Also impossible to use the library with projects on 2.12.5...