Fail derivation if From type is missing field even if To has default value for it.
Fail derivation if From type is missing field even if To has default value for it.
By default in such case derivation will fallback to default values.
Enable Java Beans naming convention (.getName, .isName) on From.
Enable Java Beans naming convention (.getName, .isName) on From.
By default only Scala conversions (.name) are allowed.
https://scalalandio.github.io/chimney/transformers/java-beans.html#reading-from-java-beans for more details
Enable Java Beans naming convention (.setName(value)) on To.
Enable Java Beans naming convention (.setName(value)) on To.
By default only Scala conversions (.copy(name = value)) are allowed.
https://scalalandio.github.io/chimney/transformers/java-beans.html#writing-to-java-beans for more details
Enable values to be supplied from method calls.
Enable values to be supplied from method calls. Source method must be public and have no parameter list.
By default this is disabled because method calls may perform side effects (e.g. mutations)
Sets target value of optional field to None if field is missing from source type From.
Sets target value of optional field to None if field is missing from source type From.
By default in such case compilation fails.
Enable unsafe call to .get when source type From contains field of type Option[A],
but target type To defines this fields as A.
Enable unsafe call to .get when source type From contains field of type Option[A],
but target type To defines this fields as A.
It's unsafe as code generated this way may throw at runtime.
By default in such case compilation fails.
https://scalalandio.github.io/chimney/transformers/unsafe-options.html for more details
(Since version ) see corresponding Javadoc for more information.