I’m trying to represent an international address in a class object using MapStruct that maps it from a PDF form. The address will have a country, if this country is America then the address must have a state. If the country is not America then the address must have a province. I have separate variables …
Tag: mapper
mapper does not convert between dto to entity
I am new to mapsturct I just want to map between dto to entity those two; my bank class; my bank dto class; my mapper below; Answer Target and source properties don’t work well with collections mapping. You need additional mapping for single element. Update your mapper as below, so Mapstruct can use ele…