alexarchambault / scalacheck-shapeless

Generation of arbitrary case classes / ADTs instances with scalacheck and shapeless
Apache License 2.0
239 stars 34 forks source link

Support for Scala 3 #241

Open nvollmar opened 2 years ago

nvollmar commented 2 years ago

Are there plans to update this library to Scala 3?

viswanath7 commented 8 months ago

It'd be very much appreciated if Scala 3 can be supported.

MartinHH commented 4 months ago

As shapeless 3 for scala 3 is a totally different library from shapeless 2, migrating this to scala 3 would more or less require a full rewrite.

Note that there are alternatives for scala 3:

  1. https://github.com/MartinHH/scalacheck-derived implements derivation for all scalacheck typeclasses using plain scala 3 typeclass derivation
  2. https://github.com/softwaremill/magnolia should make it rather simple to implement your own derivation of Arbitrary etc