Autogenerate a Pickler.
Autogenerate a Pickler. See the documentation in the project's README.md.
Works like Autogen.apply[T]
.
Works like Autogen.apply[T]
. T must be a sealed trait or sealed abstract class.
The type argument Children
explicitly specifies the concrete sub-types of T that should be supported.
It is necessary to call this instead of Autogen.apply[T] when the macro call is made in the same compilation unit
where T is defined, due to SI-7588.
should be either a concrete subtype of T, or several types chained with the |
type, e.g. A | B | C
.
As children, but prints the generated code as a compiler informational message.
As children, but prints the generated code as a compiler informational message. Useful for debugging if the macro-generated code does not compile.
As apply, but prints the generated code as a compiler informational message.
As apply, but prints the generated code as a compiler informational message. Useful for debugging if the macro-generated code does not compile.