PartiallyAppliedUnion

smithy4s.schema.PartiallyAppliedUnion
final class PartiallyAppliedUnion[U](val alts: Vector[Alt[U, _]]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(f: U => Int): UnionSchema[U]

A convenience method to build union schemas easily. It shouldn't be used in real usecases.

A convenience method to build union schemas easily. It shouldn't be used in real usecases.

Attributes

Concrete fields

val alts: Vector[Alt[U, _]]