CoproductReader

Companion
class
class Object
trait Matchable
class Any

Type members

Types

type Aux[Source, R, D, DN, O] = CoproductReader[Source, R, D, DN] { type Out = O; }

Givens

Givens

given emptyReader[T, D, DN]: CoproductReader[Value, EmptyTuple, D, DN]
given subtypeReaderWithDiscriminator: Aux[Value, Aux[T, ST, D, DN, DV, N, S], D, DN, Option[T]]
given subtypeReaderWithoutDiscriminator[T, ST, N <: TypeName, S](using val st: SchemaTranslator[ST, S, ReadWriter]): CoproductReader[Value, Aux[T, ST, Unit, Nothing, Unit, N, S], Unit, Nothing]
given tupleReader[T, D, DN, H, Tail <: Tuple](using val h: Aux[Value, H, D, DN, Option[T]], val t: Aux[Value, Tail, D, DN, Option[T]]): CoproductReader[Value, H *: Tail, D, DN]