Alt

smithy4s.schema.Alt$
See theAlt companion class
object Alt

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Alt.type

Members list

Concise view

Type members

Classlikes

object Dispatcher

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait Dispatcher[F[_], U]

Construct that does the heavily lifting for encoding union values, by memoising the compilation of the alternatives, dispatching the union instance to the correct pre-compiled encoder, and lift the resulting function into an encoder that works on the union.

Construct that does the heavily lifting for encoding union values, by memoising the compilation of the alternatives, dispatching the union instance to the correct pre-compiled encoder, and lift the resulting function into an encoder that works on the union.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
trait Precompiler[F[_], G[_]]

Precompiles an Alt to produce an instance of G

Precompiles an Alt to produce an instance of G

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final implicit class SchemaAltOps[U, A](alt: SchemaAlt[U, A]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any
final case class WithValue[F[_], U, A](alt: Alt[F, U, A], value: A)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Types

type SchemaAndValue[S, A] = WithValue[Schema, S, A]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def liftK[F[_], G[_], U](fk: PolyFunction[F, G]): PolyFunction[[_] =>> Alt[F, U, _$18], [_] =>> Alt[G, U, _$19]]

Implicits

Implicits

final implicit def SchemaAltOps[U, A](alt: SchemaAlt[U, A]): SchemaAltOps[U, A]