SchemaPartition

smithy4s.schema.SchemaPartition
See theSchemaPartition companion object
sealed trait SchemaPartition[A]

A structure indicating the match result of running Schema#partition against a given predicate

  • if the schema is not of a structure, or if none of the fields matched, then NoMatch should be returned
  • if the schema is a structure and only a subset of its fields pass the predicate, then PartialMatch should be returned
  • if the schema is a structure and all of its fields pass the predicate, then TotalMatch should be returned

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class NoMatch[A]
class SplittingMatch[A]
class TotalMatch[A]
In this article