I'm using mapstruct to map an object to a DTO. My object has 100 fields that need to be mapped in the DTO, and about 30 that shouldn't be mapped.
How can I ignore the 30 fields without having to write 30 times
@Mapping(source = "fieldtoIgnore", ignore = true)
I'm not looking to ignore the warning, I want to completely prevent mapstruct from mapping some fields
Thank you