package integrations
Type Members
- trait DefaultValue[Value] extends AnyRef
Tells Chimney how to provide default value of type
Valueif flag allows them but field does not define it.Tells Chimney how to provide default value of type
Valueif flag allows them but field does not define it.- Value
type of default value
- Annotations
- @FunctionalInterface()
- Since
1.2.0
- See also
https://chimney.readthedocs.io/cookbook/#custom-default-values for more details
- trait OptionalValue[Optional, Value] extends AnyRef
Tells Chimney how to interact with
Optionaltype to align its behavior with Option ofValue.Tells Chimney how to interact with
Optionaltype to align its behavior with Option ofValue.- Optional
type storing optional
Value- has to be proper type, not higher-kinded type- Value
type of internal value (if present)
- Since
1.0.0
- See also
https://chimney.readthedocs.io/cookbook/#custom-optional-types for more details
- trait PartialOuterTransformer[From, To, InnerFrom, InnerTo] extends AnyRef
Tells Chimney how to convert some outer types/wrappers/collections where conversions for their inner values/items could be derived, when the type sometimes cannot be constructed.
Tells Chimney how to convert some outer types/wrappers/collections where conversions for their inner values/items could be derived, when the type sometimes cannot be constructed.
- From
whole outer source type (with all possible type parameters applied)
- To
whole outer target type (with all possible type parameters applied)
- InnerFrom
type of the value(s) inside From that Chimney can derive conversion from
- InnerTo
type of the value(s) inside To that Chimney can derive conversion to
- Since
1.5.0
- trait PartiallyBuildIterable[Collection, Item] extends AnyRef
Tells Chimney how to interact with
Collectiontype to align its behavior with e.g.Tells Chimney how to interact with
Collectiontype to align its behavior with e.g. NonEmpty* collections ofItems.It's factory should perform validation of a collection once all its elements has been obtained.
- Collection
type storing collection of
Items - has to be proper type, not higher-kinded type- Item
type of internal items
- Since
1.0.0
- See also
https://chimney.readthedocs.io/cookbook/#custom-collection-types for more details
- trait PartiallyBuildMap[Mapp, Key, Value] extends PartiallyBuildIterable[Mapp, (Key, Value)]
Tells Chimney how to interact with
Collectiontype to align its behavior with e.g.Tells Chimney how to interact with
Collectiontype to align its behavior with e.g. NonEmptyMap.It's factory should perform validation of a collection once all its elements has been obtained.
- Mapp
type storing collection of
Key-Valuepairs - has to be proper type, not higher-kinded type- Key
type of internal keys
- Value
type of internal values
- Since
1.0.0
- See also
https://chimney.readthedocs.io/cookbook/#custom-collection-types for more details
- trait TotalOuterTransformer[From, To, InnerFrom, InnerTo] extends AnyRef
Tells Chimney how to convert some outer types/wrappers/collections where conversions for their inner values/items could be derived, when the type can be always constructed.
Tells Chimney how to convert some outer types/wrappers/collections where conversions for their inner values/items could be derived, when the type can be always constructed.
- From
whole outer source type (with all possible type parameters applied)
- To
whole outer target type (with all possible type parameters applied)
- InnerFrom
type of the value(s) inside From that Chimney can derive conversion from
- InnerTo
type of the value(s) inside To that Chimney can derive conversion to
- Since
1.5.0
- trait TotallyBuildIterable[Collection, Item] extends AnyRef
Tells Chimney how to interact with
Collectiontype to align its behavior with Seq ofItems.Tells Chimney how to interact with
Collectiontype to align its behavior with Seq ofItems.- Collection
type storing collection of
Items - has to be proper type, not higher-kinded type- Item
type of internal items
- Since
1.0.0
- See also
https://chimney.readthedocs.io/cookbook/#custom-collection-types for more details
- trait TotallyBuildMap[Mapp, Key, Value] extends TotallyBuildIterable[Mapp, (Key, Value)]
Tells Chimney how to interact with
Collectiontype to align its behavior with e.g.Tells Chimney how to interact with
Collectiontype to align its behavior with e.g. Map.- Mapp
type storing collection of
Key-Valuepairs - has to be proper type, not higher-kinded type- Key
type of internal keys
- Value
type of internal values
- Since
1.0.0
- See also
https://chimney.readthedocs.io/cookbook/#custom-collection-types for more details