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 Serializabletrait Producttrait Equalstrait SchemaPartition[A]class Objecttrait Matchableclass Any
Members list
In this article