magnolia icon indicating copy to clipboard operation
magnolia copied to clipboard

Scala 3 caveats

Open ghostdogpr opened this issue 4 years ago • 1 comments

A few other things I discovered and that you might want to mention somewhere: Scala 3 typeclass derivation doesn't support a few things that Magnolia supported with Scala 2:

  • value classes
  • nested sealed traits

Opaque types also don't have mirrors. And I think default values can't be obtained from the macro yet.

ghostdogpr avatar May 18 '21 10:05 ghostdogpr

I suppose a good idea here would be to move all of the magnolia-scala2 tests into magnolia-scala3, and see which ones fail. Mark them as such, but keep them around as a good documentation for further work.

adamw avatar May 18 '21 10:05 adamw