AvroSchema

object AvroSchema

Creates an Avro Schema for an arbitrary type T.

Creates an Avro Schema for an arbitrary type T.

This type is called AvroSchema and not just Schema to facilitate easy importing when mixing with org.apache.avro.Schema.

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[T](using schemaFor: SchemaFor[T]): Schema

Generates an org.apache.avro.Schema for a type T using default configuration.

Generates an org.apache.avro.Schema for a type T using default configuration.

Requires an instance of SchemaFor which is usually generated by the avro4s macros.