TotalOuterTransformer

io.scalaland.chimney.integrations.TotalOuterTransformer
trait TotalOuterTransformer[From, To, InnerFrom, InnerTo]

Tells Chimney how to convert some outer types/wrappers/collections where conversions for their inner values/items could be derived, when the type can be always constructed.

Type parameters

From

whole outer source type (with all possible type parameters applied)

InnerFrom

type of the value(s) inside From that Chimney can derive conversion from

InnerTo

type of the value(s) inside To that Chimney can derive conversion to

To

whole outer target type (with all possible type parameters applied)

Attributes

Since

1.5.0

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def transformWithPartialInner(src: From, failFast: Boolean, inner: InnerFrom => Result[InnerTo]): Result[To]

Converts the outer type when the conversion of inner types turn out to be partial.

Converts the outer type when the conversion of inner types turn out to be partial.

Attributes

def transformWithTotalInner(src: From, inner: InnerFrom => InnerTo): To

Converts the outer type when the conversion of inner types turn out to be total.

Converts the outer type when the conversion of inner types turn out to be total.

Attributes