Companion of io.scalaland.chimney.Transformer.
Attributes
- See also
- Since
-
0.2.0
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Transformer.type
Members list
Type members
Classlikes
Attributes
- Since
-
0.8.0
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AutoDerived.type
Type class used when you want to allow using automatically derived transformations.
Type class used when you want to 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 Objecttrait Matchableclass Any
- Known subtypes
-
Value members
Concrete methods
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
-
io.scalaland.chimney.dsl.TransformerDefinition for available settings
- Since
-
0.4.0
Creates an empty io.scalaland.chimney.dsl.PartialTransformerDefinition that you can customize to derive io.scalaland.chimney.PartialTransformer.
Creates an empty io.scalaland.chimney.dsl.PartialTransformerDefinition that you can customize to derive io.scalaland.chimney.PartialTransformer.
Type parameters
- From
-
type of input value
- To
-
type of output value
Attributes
- Returns
-
io.scalaland.chimney.dsl.PartialTransformerDefinition with defaults
- See also
-
io.scalaland.chimney.dsl.PartialTransformerDefinition for available settings
- Since
-
0.7.0
Inherited methods
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)
Implicits
Inherited implicits
Extracts io.scalaland.chimney.Transformer from existing io.scalaland.chimney.Codec.encode.
Extracts io.scalaland.chimney.Transformer from existing io.scalaland.chimney.Codec.encode.
Type parameters
- Domain
-
type of domain value
- Dto
-
type of DTO value
Attributes
- Since
-
1.2.0
- Inherited from:
- TransformerLowPriorityImplicits3 (hidden)
Extracts io.scalaland.chimney.Transformer from existing io.scalaland.chimney.Iso.first.
Extracts io.scalaland.chimney.Transformer from existing io.scalaland.chimney.Iso.first.
Type parameters
- First
-
input type of the first conversion, output type of the second conversion
- Second
-
output type of the first conversion, input type of the second conversion
Attributes
- Since
-
1.2.0
- Inherited from:
- TransformerLowPriorityImplicits1 (hidden)
Extracts io.scalaland.chimney.Transformer from existing io.scalaland.chimney.Iso.second.
Extracts io.scalaland.chimney.Transformer from existing io.scalaland.chimney.Iso.second.
Type parameters
- First
-
input type of the first conversion, output type of the second conversion
- Second
-
output type of the first conversion, input type of the second conversion
Attributes
- Since
-
1.2.0
- Inherited from:
- TransformerLowPriorityImplicits2 (hidden)