LazySchema
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Schema[A]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Schema
Attributes
- Inherited from:
- Schema
Attributes
- Inherited from:
- Schema
Turns this schema into an error schema.
Finds the first field that matches the criteria used, and applies a bijection between the schema it holds and partial data, which ensures for the field's schema to be used as "top level" when decoding "payloads".
Finds the first field that matches the criteria used, and applies a bijection between the schema it holds and partial data, which ensures for the field's schema to be used as "top level" when decoding "payloads".
NB : a "payload" is typically a whole set of data, without a typical field-based splitting into subparts. This can be, for instance, an http body.
Attributes
- Inherited from:
- Schema
Attributes
- Inherited from:
- Schema
Attributes
- Inherited from:
- Schema
Finds whether a schema (or the underlying schema in the case of bijections/surjections, etc) is a primitive of a certain type.
Finds whether a schema (or the underlying schema in the case of bijections/surjections, etc) is a primitive of a certain type.
Attributes
- Inherited from:
- Schema
Checks whether a schema is Unit or an empty structure
When applied on a structure schema, creates a schema that, when compiled into a codec, will only encode/decode a subset of the data, based on the hints of each field.
When applied on a structure schema, creates a schema that, when compiled into a codec, will only encode/decode a subset of the data, based on the hints of each field.
This can be used to only encode some fields of the data into the http body
Returns a SchemaPartition that indicates whether :
- no field match the condition
- some fields match the condition
- all fields match the condition
Attributes
- Inherited from:
- Schema
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Schema
Attributes
- Inherited from:
- Schema
Attributes
- Inherited from:
- Schema