@Mapping(target = "dob", source = "dob", qualifiedBy = EncryptedValueMapper.mapToEncryptedValueDob.class)
PrimaryUserInfoDto mapPrimaryUserInfoDTOToPersistence(PrimaryUserInfoDTO primaryUserInfoDTO);Can I pass the BirthIdentifier to my custom mapper class though this mapper? Right now I have separate methods for different encryptions and it's not a very clean. Is there something better?
Thanks,
Rahul Rao