TotalMatch

smithy4s.schema.SchemaPartition.TotalMatch
final case class TotalMatch[A](schema: Schema[A]) extends SchemaPartition[A]

Indicates that all fields of a schema matched a condition.

Value parameters

schema

The schema resulting from the total match might not be the same as the input-schema: if the partition aimed at finding a payload field, and if the whole data can be constructed from a single payload field, the resulting schema would be a bijection from that payload field to the larger datatype.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaPartition[A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product