macro classfromSchema extends Annotation with StaticAnnotation
Macro annotation for an Avro schema.
Generate case classes for an Avro schema. Note that schema must be a single string literal
of the JSON schema with optional .stripMargin at the end. For example:
Macro annotation for an Avro schema.
Generate case classes for an Avro schema. Note that
schema
must be a single string literal of the JSON schema with optional.stripMargin
at the end. For example:Also generate a companion object with convenience methods.