- Companion:
- object
Type members
Types
Value members
Abstract methods
Concrete methods
- Definition Classes
Inherited methods
Returns a new schema that with annotation
Returns a new schema that with annotation
- Inherited from:
- Schema
Convert to Schema[B] iff B and A are homomorphic.
Convert to Schema[B] iff B and A are homomorphic.
This can be used to e.g convert between a case class and it's "generic" representation as a ListMap[String,_]
- Inherited from:
- Schema
Performs a diff between thisValue and thatValue. See zio.schema.Differ for details on the default diff algorithms.
Performs a diff between thisValue and thatValue. See zio.schema.Differ for details on the default diff algorithms.
- Inherited from:
- Schema
Generate a homomorphism from A to B iff A and B are homomorphic
Generate a homomorphism from A to B iff A and B are homomorphic
- Inherited from:
- Schema
Returns a new schema that modifies the type produced by this schema to be optional.
Returns a new schema that modifies the type produced by this schema to be optional.
- Inherited from:
- Schema
Returns a new schema that combines this schema and the specified schema together, modeling their either composition.
Returns a new schema that combines this schema and the specified schema together, modeling their either composition.
- Inherited from:
- Schema
Transforms this Schema[A]
into a Schema[B]
, by supplying two functions that can transform
between A
and B
, without possibility of failure.
Transforms this Schema[A]
into a Schema[B]
, by supplying two functions that can transform
between A
and B
, without possibility of failure.
- Inherited from:
- Schema
Transforms this Schema[A]
into a Schema[B]
, by supplying two functions that can transform
between A
and B
(possibly failing in some cases).
Transforms this Schema[A]
into a Schema[B]
, by supplying two functions that can transform
between A
and B
(possibly failing in some cases).
- Inherited from:
- Schema