Closed bjhartin closed 1 year ago
Addresses #192.
This PR moves the gen function into an auto package so that auto derivation requires the import of org.scalacheck.magnolia.auto._ and semiauto derivation can be done by importing semiauto._ and calling deriveEncoder[A].
gen
auto
org.scalacheck.magnolia.auto._
semiauto._
deriveEncoder[A]
See the issue above for rationale.
Closing in favor of spotify's magnolia/scalacheck integration.
Addresses #192.
This PR moves the
gen
function into anauto
package so that auto derivation requires the import oforg.scalacheck.magnolia.auto._
and semiauto derivation can be done by importingsemiauto._
and callingderiveEncoder[A]
.See the issue above for rationale.