SplittingMatch

smithy4s.schema.SchemaPartition.SplittingMatch
final case class SplittingMatch[A](matching: Schema[PartialData[A]], notMatching: Schema[PartialData[A]]) extends SchemaPartition[A]

Indicates that only a subset of fields matched the partitioning condition. This datatype contains two schemas representing the partial data resulting from the partitioning. For instance : http-header fields and non-http-header fields.

The schemas can be dispatched to the correct SchemaVisitors to produce the relevant codecs. The partial-data produced by either parts can be reconciled to create the total data.

Value parameters

matching

the partial schema resulting from the matching fields

notMatching

the partial schema resulting from the non-matching fields

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