TapirCoproductTranslator_T_R

given TapirCoproductTranslator_T_R[T, R <: Tuple, IsSingle <: NonEmptyTuple, NotSingle <: NonEmptyTuple](using val part: Aux[IsSingletonSubtype, R, IsSingle, NotSingle], val nst: Aux[T, NotSingle, (List[Schema[_]], T => Option[Schema[_]])], val st: Aux[T, IsSingle, (List[String], T => Boolean)]): TapirCoproductTranslator[T, R]

Translate tuple of mixed singleton and non-singleton subtypes

Type members

Types

type Out = (List[Schema[_]], T => Option[Schema[_]])

Value members

Concrete methods

override
def translate(shape: R): (List[Schema[_]], T => Option[Schema[_]])
Definition Classes

Concrete fields

protected
val nst: Aux[T, NotSingle, (List[Schema[_]], T => Option[Schema[_]])]
protected
val part: Aux[IsSingletonSubtype, R, IsSingle, NotSingle]
protected
val st: Aux[T, IsSingle, (List[String], T => Boolean)]