zio-json icon indicating copy to clipboard operation
zio-json copied to clipboard

Scala 3: Support default values

Open fsvehla opened this issue 3 years ago • 1 comments

Magnolia doesn’t support default values https://github.com/softwaremill/magnolia/issues/284

fsvehla avatar Jun 16 '21 15:06 fsvehla

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

mprihoda avatar May 18 '22 19:05 mprihoda

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

carlos-verdes avatar Oct 12 '22 11:10 carlos-verdes