Transformer

io.scalaland.chimney.Transformer
See theTransformer companion trait
object Transformer

Attributes

See also
Since

0.2.0

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object AutoDerived

Attributes

Since

0.8.0

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait AutoDerived[From, To]

Type class used when you want o allow using automatically derived transformations.

Type class used when you want o allow using automatically derived transformations.

When we want to only allow semiautomatically derived/manually defined instances you should use io.scalaland.chimney.Transformer.

Type parameters

From

type of input value

To

type of output value

Attributes

See also
Since

0.8.0

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Transformer[From, To]

Value members

Concrete methods

def define[From, To]: TransformerDefinition[From, To, Empty, Default]

Creates an empty io.scalaland.chimney.dsl.TransformerDefinition that you can customize to derive io.scalaland.chimney.Transformer.

Creates an empty io.scalaland.chimney.dsl.TransformerDefinition that you can customize to derive io.scalaland.chimney.Transformer.

Type parameters

From

type of input value

To

type of output value

Attributes

Returns

io.scalaland.chimney.dsl.TransformerDefinition with defaults

See also
Since

0.4.0

def definePartial[From, To]: PartialTransformerDefinition[From, To, Empty, Default]

Type parameters

From

type of input value

To

type of output value

Attributes

Returns

io.scalaland.chimney.dsl.PartialTransformerDefinition with defaults

See also
Since

0.7.0

Inherited methods

inline def derive[From, To]: Transformer[From, To]

Provides io.scalaland.chimney.Transformer derived with the default settings.

Provides io.scalaland.chimney.Transformer derived with the default settings.

When transformation can't be derived, it results with compilation error.

Type parameters

From

type of input value

To

type of output value

Attributes

Returns

io.scalaland.chimney.Transformer type class instance

Since

0.8.0

Inherited from:
TransformerCompanionPlatform (hidden)