zio-json
zio-json copied to clipboard
Scala 3: Support default values
Magnolia doesn’t support default values https://github.com/softwaremill/magnolia/issues/284
It seems that default value support for Scala3 in Magnolia just landed a few days ago: https://github.com/softwaremill/magnolia/releases/tag/scala3-v1.1.2
This issue can be closed, to make it work you just need to add this option on scalaC:
ThisBuild / scalacOptions ++= Seq("-Yretain-trees")
Thanks @mprihoda for pointing into that update on Magnolia