Packages

package dsl

Main object to import in order to use Chimney's features

Since

0.1.0

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. dsl
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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

  2. 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

  3. 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

  4. final class PartialTransformerDefinition[From, To, Cfg <: TransformerCfg, Flags <: TransformerFlags] extends FlagsDsl[[Flags1]PartialTransformerDefinition[From, To, Cfg, Flags1], Flags] with TransformerDefinitionCommons[[Cfg1]PartialTransformerDefinition[From, To, Cfg1, Flags]] with WithRuntimeDataStore

    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

    Cfg

    type-level encoded config

    Flags

    type-level encoded flags

    Since

    0.7.0

  5. final class PartialTransformerInto[From, To, Cfg <: TransformerCfg, Flags <: TransformerFlags] extends FlagsDsl[[Flags1]PartialTransformerInto[From, To, Cfg, Flags1], Flags] with WithRuntimeDataStore

    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

    Cfg

    type-level encoded config

    Flags

    type-level encoded flags

    Since

    0.7.0

  6. 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

  7. 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

  8. final class PatcherUsing[T, P, Cfg <: 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

    Cfg

    type-level encoded configuration of patcher

    Since

    0.4.0

  9. final class TransformerConfiguration[Flags <: TransformerFlags] extends FlagsDsl[UpdateFlag, 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

  10. final class TransformerDefinition[From, To, Cfg <: TransformerCfg, Flags <: TransformerFlags] extends FlagsDsl[[Flags1]TransformerDefinition[From, To, Cfg, Flags1], Flags] with TransformerDefinitionCommons[[Cfg1]TransformerDefinition[From, To, Cfg1, Flags]] with WithRuntimeDataStore

    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

    Cfg

    type-level encoded config

    Flags

    type-level encoded flags

    Since

    0.4.0

  11. final class TransformerInto[From, To, Cfg <: TransformerCfg, Flags <: TransformerFlags] extends FlagsDsl[[Flags1]TransformerInto[From, To, Cfg, Flags1], Flags] with WithRuntimeDataStore

    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

    Cfg

    type-level encoded config

    Flags

    type-level encoded flags

    Since

    0.1.0

  12. 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

  13. 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

Value Members

  1. case 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

  2. case 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

  3. object TransformerConfiguration

    Since

    0.6.0

  4. object TransformerDefinitionCommons

Inherited from AnyRef

Inherited from Any

Ungrouped