Ergonomics of configurable derivation

I wanted to mention the with syntax and not the extends syntax, sorry for the confusion (edited the main post, to reduce further confusion).

The comma separated list syntax works. I’m suggesting that this should also work:

case class C(a: Int, b: String = "")
  derives Encoder
  derives Decoder