Companion of io.scalaland.chimney.PartialTransformer.
Attributes
- See also
- Since
-
0.7.0
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PartialTransformer.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.PartialTransformer.
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
Construct ad-hoc instance of partial transformer from transforming function returning partial result.
Construct ad-hoc instance of partial transformer from transforming function returning partial result.
Type parameters
- From
-
type of input value
- To
-
type of output value
Value parameters
- f
-
transforming function returning partial result
Attributes
- Returns
-
io.scalaland.chimney.PartialTransformer type class instance
- Since
-
0.7.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
Construct ad-hoc instance of partial transformer from transforming function returning target value.
Construct ad-hoc instance of partial transformer from transforming function returning target value.
Type parameters
- From
-
type of input value
- To
-
type of output value
Value parameters
- f
-
transforming function returning target value
Attributes
- Returns
-
io.scalaland.chimney.PartialTransformer type class instance
- Since
-
0.7.0
Lifts total transformer to partial transformer
Lifts total transformer to partial transformer
Type parameters
- From
-
type of input value
- To
-
type of output value
Value parameters
- t
-
instance of total transformer
Attributes
- Returns
-
io.scalaland.chimney.PartialTransformer type class instance
- Since
-
0.7.0
Inherited methods
Provides io.scalaland.chimney.PartialTransformer derived with the default settings.
Provides io.scalaland.chimney.PartialTransformer 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.PartialTransformer type class definition
- Since
-
0.8.0
- Inherited from:
- PartialTransformerCompanionPlatform (hidden)
Implicits
Inherited implicits
Extracts io.scalaland.chimney.PartialTransformer from existing io.scalaland.chimney.Codec.decode.
Extracts io.scalaland.chimney.PartialTransformer from existing io.scalaland.chimney.Codec.decode.
Type parameters
- Domain
-
type of domain value
- Dto
-
type of DTO value
Attributes
- Since
-
1.2.0
- Inherited from:
- PartialTransformerLowPriorityImplicits1 (hidden)