I am using MapStruct with big models (more than 50 fields) shared between different business use cases in my code. Depending on the entry point, some properties will be mapp
You can set the "unmapped target policy" on the @Mapper level or via @MapperConfig to share a setting across several mappers:
@Mapper
@MapperConfig
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE) public interface MyMapper {}