You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to map nested object. Customer.address.houseNumber to userDTO.homeDTO.addressDTO.houseNo.
Expection: If and only if Customer.address.houseNumber is not null then create homeDTO object under userDTO. Otherwise do not create any target objects.
Please advise how I should achieve this
Additionally, nested target properties have been overhauled in the 1.2.0 version and the generation is created differently. Please try the latest from 1.2.0 and let us know what you would expect there.
I want to map nested object.
Customer.address.houseNumber
touserDTO.homeDTO.addressDTO.houseNo
.Expection: If and only if
Customer.address.houseNumber
is not null then createhomeDTO
object underuserDTO
. Otherwise do not create any target objects.Please advise how I should achieve this
Here is mapping that I am using.
The generated code is below
I would like to be generated code to be similar to
expected code.txt
The text was updated successfully, but these errors were encountered: