TransformedNamesComparison

io.scalaland.chimney.dsl.TransformedNamesComparison
See theTransformedNamesComparison companion object

Provides a way of customizing how fields/subtypes shoud get matched betwen source value and target value.

Attributes

See also
Since

1.0.0

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
Singleton

Members list

Value members

Abstract methods

def namesMatch(fromName: String, toName: String): Boolean

Return true if fromName should be considered a match for toName.

Return true if fromName should be considered a match for toName.

Value parameters

fromName

name of a field/subtype in the source type

toName

name of a field/subtype in the target type

Attributes

Returns

whether fromName should be used as a source for value in toName