implicit final class TransformationMapPathOps[M[_, _], K, V] extends AnyVal
Allow key/value extraction from maps when selecting path to override in Chimney DSL.
- M
type of the map
- K
type of keys in the map
- V
type of values in the map
- Since
1.0.0
- Alphabetic
- By Inheritance
- TransformationMapPathOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TransformationMapPathOps(cc: M[K, V])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def everyMapKey(implicit ev: Of[M[K, V], K, V]): K
Allows paths like
_.map.everyMapKey.fieldwhen selecting the target fields to override in Chimney DSL.Allows paths like
_.map.everyMapKey.fieldwhen selecting the target fields to override in Chimney DSL.It can only be used within
.withField*methods where the macros reads it and erases it from the final code!- returns
stubs a key extracted from the map
- Annotations
- @compileTimeOnly(".everyMapKey should be only called within Chimney DSL")
- Since
1.0.0
- def everyMapValue(implicit ev: Of[M[K, V], K, V]): V
Allows paths like
_.map.everyMapValue.fieldwhen selecting the target fields to override in Chimney DSL.Allows paths like
_.map.everyMapValue.fieldwhen selecting the target fields to override in Chimney DSL.It can only be used within
.withField*methods where the macros reads it and erases it from the final code!- returns
stubs a value extracted from the map
- Annotations
- @compileTimeOnly(".everyMapValue should be only called within Chimney DSL")
- Since
1.0.0
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any