1
升級瑟茜不成形記錄從0.4.1到0.7.0打破了下面的代碼:編碼/解碼與瑟茜
import shapeless._
import syntax.singleton._
import io.circe.generic.auto._
.run[Record.`'transaction_id -> Int`.T](transport)
def run[A](transport: Json => Future[Json])(implicit decoder: Decoder[A], exec: ExecutionContext): Future[A]
,出現以下錯誤:
could not find implicit value for parameter decoder: io.circe.Decoder[shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("transaction_id")],Int],shapeless.HNil]]
[error] .run[Record.`'transaction_id -> Int`.T](transport)
[error] ^
我失去了一些進口這裏還是這些編碼器/解碼器不再適用於circe?
許多感謝。在任何地方都找不到分割。 – simao