Closed nox213 closed 1 month ago
fixes #624
When creating a Reader for a case class with a custom apply method, the process can fail if the apply method returns a different type than the case class itself. To address this, I’ve modified the macro to use the primary constructor instead.
Reader
https://github.com/com-lihaoyi/upickle/pull/607 I wasn't aware of this
fixes #624
When creating a
Reader
for a case class with a custom apply method, the process can fail if the apply method returns a different type than the case class itself. To address this, I’ve modified the macro to use the primary constructor instead.