You can set the “unmapped target policy” on the @Mapper level or via @MapperConfig to share a setting across several mappers:
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface MyMapper {}
You can set the “unmapped target policy” on the @Mapper level or via @MapperConfig to share a setting across several mappers:
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface MyMapper {}