Use this constructor and pass GenCodec.materialize
explicitly if you're getting the
"super constructor cannot be passed a self reference unless parameter is declared by-name" error.
Use this constructor and pass GenCodec.materialize
explicitly if you're getting the
"super constructor cannot be passed a self reference unless parameter is declared by-name" error.
case class Stuff(int: Int = 42) object Stuff extends HasGenCodec[Stuff](GenCodec.materialize)
Convenience abstract class for companion objects of types that have a GenCodec.