package dsl
Main object to import in order to use Chimney's features
- Since
0.1.0
- Alphabetic
- By Inheritance
- dsl
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit final
class
EitherStringPartialTransformerOps[T] extends AnyVal
Lifts scala.Either into io.scalaland.chimney.partial.Result.
Lifts scala.Either into io.scalaland.chimney.partial.Result.
- T
type of value inside Option
- Since
0.7.0
-
sealed abstract
class
ImplicitTransformerPreference extends AnyRef
Whether derivation should prefer total or partial transformers if both are provided for some field transformation.
Whether derivation should prefer total or partial transformers if both are provided for some field transformation.
- Since
0.7.0
-
implicit final
class
OptionPartialTransformerOps[T] extends AnyVal
Lifts scala.Option into io.scalaland.chimney.partial.Result.
Lifts scala.Option into io.scalaland.chimney.partial.Result.
- T
type of value inside Option
- Since
0.7.0
-
final
class
PartialTransformerDefinition[From, To, C <: TransformerCfg, Flags <: TransformerFlags] extends FlagsDsl[[F1]PartialTransformerDefinition[From, To, C, F1], Flags] with TransformerDefinitionCommons[[C1]PartialTransformerDefinition[From, To, C1, Flags]]
Allows customization of io.scalaland.chimney.PartialTransformer derivation.
Allows customization of io.scalaland.chimney.PartialTransformer derivation.
- From
type of input value
- To
type of output value
- C
type-level encoded config
- Flags
type-level encoded flags
- Since
0.7.0
-
final
class
PartialTransformerInto[From, To, C <: TransformerCfg, Flags <: TransformerFlags] extends FlagsDsl[[F1]PartialTransformerInto[From, To, C, F1], Flags]
Provides DSL for configuring io.scalaland.chimney.PartialTransformer's generation and using the result to transform value at the same time
Provides DSL for configuring io.scalaland.chimney.PartialTransformer's generation and using the result to transform value at the same time
- From
type of input value
- To
type of output value
- C
type-level encoded config
- Flags
type-level encoded flags
- Since
0.7.0
-
implicit final
class
PartialTransformerOps[From] extends AnyVal
Provides partial transformer operations on values of any type.
Provides partial transformer operations on values of any type.
- From
type of source value
- Since
0.7.0
-
implicit final
class
PatcherOps[T] extends AnyVal
Provides patcher operations on values of any type
Provides patcher operations on values of any type
- T
type of object to patch
- Since
0.1.3
-
final
class
PatcherUsing[T, P, C <: PatcherCfg] extends AnyRef
Provides operations to customize patcher logic for specific object value and patch value.
Provides operations to customize patcher logic for specific object value and patch value.
- T
type of object to apply patch to
- P
type of patch object
- C
type-level encoded configuration of patcher
- Since
0.4.0
-
final
class
TransformerConfiguration[Flags <: TransformerFlags] extends FlagsDsl[[F1]TransformerConfiguration[F1], Flags]
Type-level set of derivation flags that can be shared between derivations through implicit scope.
Type-level set of derivation flags that can be shared between derivations through implicit scope.
- Flags
type-level encoded flags
- Since
0.6.0
-
final
class
TransformerDefinition[From, To, C <: TransformerCfg, Flags <: TransformerFlags] extends FlagsDsl[[F1]TransformerDefinition[From, To, C, F1], Flags] with TransformerDefinitionCommons[[C1]TransformerDefinition[From, To, C1, Flags]]
Allows customization of io.scalaland.chimney.Transformer derivation.
Allows customization of io.scalaland.chimney.Transformer derivation.
- From
type of input value
- To
type of output value
- C
type-level encoded config
- Flags
type-level encoded flags
- Since
0.4.0
-
implicit final
class
TransformerFOps[From] extends AnyVal
Provides lifted transformer operations on values of any type.
Provides lifted transformer operations on values of any type.
- From
type of source value
- Since
0.5.0
-
final
class
TransformerInto[From, To, C <: TransformerCfg, Flags <: TransformerFlags] extends FlagsDsl[[F1]TransformerInto[From, To, C, F1], Flags]
Provides DSL for configuring io.scalaland.chimney.Transformer's generation and using the result to transform value at the same time
Provides DSL for configuring io.scalaland.chimney.Transformer's generation and using the result to transform value at the same time
- From
type of input value
- To
type of output value
- C
type-level encoded config
- Flags
type-level encoded flags
- Since
0.1.0
-
implicit final
class
TransformerOps[From] extends AnyVal
Provides transformer operations on values of any type.
Provides transformer operations on values of any type.
- From
type of source value
- Since
0.4.0
-
implicit final
class
TryPartialTransformerOps[T] extends AnyVal
Lifts scala.util.Try into io.scalaland.chimney.partial.Result.
Lifts scala.util.Try into io.scalaland.chimney.partial.Result.
- T
type of value inside Option
- Since
0.7.0
-
final
class
TransformerFDefinition[F[+_], From, To, C <: TransformerCfg, Flags <: TransformerFlags] extends FlagsDsl[[F1]TransformerFDefinition[F, From, To, C, F1], Flags] with TransformerDefinitionCommons[[C1]TransformerFDefinition[F, From, To, C1, Flags]]
Allows customization of io.scalaland.chimney.TransformerF derivation
Allows customization of io.scalaland.chimney.TransformerF derivation
- F
wrapper type constructor
- From
type of input value
- To
type of output value
- C
type-level encoded config
- Flags
type-level encoded flags
- Annotations
- @deprecated
- Deprecated
(Since version Chimney 0.7.0) Lifted transformers are deprecated. Consider using PartialTransformer.
- Since
0.5.0
-
final
class
TransformerFInto[F[+_], From, To, C <: TransformerCfg, Flags <: TransformerFlags] extends FlagsDsl[[F1]TransformerFInto[F, From, To, C, F1], Flags]
Provides DSL for configuring io.scalaland.chimney.TransformerF's generation and using the result to transform value at the same time
Provides DSL for configuring io.scalaland.chimney.TransformerF's generation and using the result to transform value at the same time
- F
wrapper type constructor
- From
type of input value
- To
type of output value
- C
type-level encoded config
- Flags
type-level encoded flags
- Annotations
- @deprecated
- Deprecated
(Since version Chimney 0.7.0) Lifted transformers are deprecated. Consider using PartialTransformer.
- Since
0.5.0
Value Members
-
object
PreferPartialTransformer extends ImplicitTransformerPreference with Product with Serializable
Tell the derivation to prefer partial transformers.
Tell the derivation to prefer partial transformers.
- Since
0.7.0
-
object
PreferTotalTransformer extends ImplicitTransformerPreference with Product with Serializable
Tell the derivation to prefer total transformers.
Tell the derivation to prefer total transformers.
- Since
0.7.0
-
object
TransformerConfiguration
- Since
0.6.0
- object TransformerDefinitionCommons