Fallback
Schema for zio.schema.Fallback type. If fullDecode is set to true, it will decode Fallback.Both from Fallback.Both. If set to false, it will decode Fallback.Left when possible and Fallback.Right as second option from a Fallback.Both.
Attributes
- Source
- Schema.scala
- Graph
-
- Supertypes
- Self type
-
Members list
Type members
Value members
Concrete methods
Returns a new schema that with annotation
The default value for a Schema of type A.
Attributes
- Definition Classes
- Source
- Schema.scala
Attributes
- Source
- package.scala
Inherited methods
A symbolic operator for zip.
A symbolic operator for orElseEither.
A symbolic operator for optional.
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
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,_]
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
Add a default value to this 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.
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
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
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
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.
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
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.
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
Patch value with a Patch.
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
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.
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
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).
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
Returns a new schema that combines this schema and the specified schema together, modeling their tuple composition.
Returns a new schema that combines this schema and the specified schema together, modeling their tuple composition.
Attributes
- Inherited from:
- Schema
- Source
- Schema.scala
Concrete fields
Attributes
- Source
- Schema.scala
Attributes
- Source
- Schema.scala
Attributes
- Source
- Schema.scala
Attributes
- Source
- Schema.scala
Attributes
- Source
- Schema.scala