typelevel/frameless

Map[X, BigDecimal] not properly encoded

cchantep opened this issue · 0 comments

case class Foo(m: Map[String, BigDecimal])

implicit val encoder: TypedEncoder[Foo] = TypedEncoder.usingDerivation
java.lang.RuntimeException: Error while decoding: java.lang.ArithmeticException: Decimal precision 297175 exceeds max precision 38