Open loicdescotte opened 6 years ago
With Scala 2.13 it will be possible to do it without macro with something like :
def show(p: Product): String =
p.productElementNames.zip(p.productIterator)
.map { case (name, value) => s"$name=$value" }
.mkString(p.productPrefix + "(", ", ", ")")
pushed #117 PR with macro-free show method on case classes
Recurring demand from a few number of users