14 lines
790 B
Plaintext
14 lines
790 B
Plaintext
# CustomerRequest (record) -> Customer (entity); AddressMapper.toEntity inherits the rename in reverse
|
|
|
|
email after @AfterMapping : '[email protected]' (request carried ' [email protected] ')
|
|
createdAt (from @Context) : 2026-11-05T00:00:00Z
|
|
address.postalCode : 600001 <- @InheritInverseConfiguration turned zip back into postalCode
|
|
address.country : null <- defaultValue is NOT inverted; toDto gives IN, toEntity does not
|
|
tier : null <- the entity said STANDARD; the request said null
|
|
tier with nullValueCheckStrategy = ALWAYS : STANDARD
|
|
id / passwordHash / orders : null / null / null <- ignore = true
|
|
|
|
--- round trip: entity -> record -> entity ---
|
|
passwordHash survives the round trip? false
|
|
address country survives? null -> IN
|