Attributes
- Companion
- class
- Source
- AvroPrism.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AvroPrism.type
Members list
Value members
Concrete methods
Root AvroPrism[S], summoning the schema from the codec (AvroCodec[S].schema). The reader schema always matches the codec's — there is no explicit-schema overload, since a reader schema diverging from its codec is a footgun (silent misreads on structural drift).
Root AvroPrism[S], summoning the schema from the codec (AvroCodec[S].schema). The reader schema always matches the codec's — there is no explicit-schema overload, since a reader schema diverging from its codec is a footgun (silent misreads on structural drift).
Attributes
- Source
- AvroPrism.scala
Extensions
Extensions
.field(_.x) — drill via selector lambda.
.fieldNamed[B]("schema_name") — drill by the EXPLICIT schema field name, bypassing position resolution. The escape hatch (issue #35) for a hand-written codec whose schema field order diverges from case-class declaration order; the common (derived / order-preserving) codecs need .field(_.x) instead, which resolves the name for you.
.fieldNamed[B]("schema_name") — drill by the EXPLICIT schema field name, bypassing position resolution. The escape hatch (issue #35) for a hand-written codec whose schema field order diverges from case-class declaration order; the common (derived / order-preserving) codecs need .field(_.x) instead, which resolves the name for you.
Attributes
- Source
- AvroPrism.scala
.at(i) — drill into the i-th array element / map entry.
.union[Branch] — drill into a union alternative by branch type.
.each — split into an AvroTraversal over the iterated array.
.fields(_.a, _.b, ...) — focus a NamedTuple over selected fields.