In case when both object to patch and patch value contain field
of type Option[T]
, this option allows to treat None
value in
patch like the value was not provided.
In case when both object to patch and patch value contain field
of type Option[T]
, this option allows to treat None
value in
patch like the value was not provided.
By default, when None
is delivered in patch, Chimney clears
the value of such field on patching.
https://scalalandio.github.io/chimney/patchers/options-handling.html for more details
In case that patch object contains a redundant field (i.e.
In case that patch object contains a redundant field (i.e. field that is not present in patched object type), this option enables ignoring value of such fields and generate patch successfully.
By default, when Chimney detects a redundant field in patch object, it fails the compilation in order to prevent silent oversight of field name typos.
https://scalalandio.github.io/chimney/patchers/redundant-fields.html for more details
object to patch
patch object
Applies configured patching in-place
Applies configured patching in-place
patched value
(Since version ) see corresponding Javadoc for more information.
Provides operations to customize patcher logic for specific object value and patch value.
type of object to apply patch to
type of patch object
type-level encoded configuration of patcher