mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#782 The builder type from lombok is not present during the annotation processing phase
This commit is contained in:
parent
dbc7c8a84d
commit
70419f91b0
@ -22,6 +22,12 @@ import org.mapstruct.Mapper;
|
||||
import org.mapstruct.ReportingPolicy;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
/**
|
||||
* The Builder creation method is not present during the annotation processing of the mapper.
|
||||
* Therefore we put the mapper into a separate class.
|
||||
*
|
||||
* @see <span>Lombok Issue <a href="https://github.com/rzwitserloot/lombok/issues/1538">#1538</a></span>
|
||||
*/
|
||||
@Mapper(unmappedTargetPolicy = ReportingPolicy.ERROR)
|
||||
public interface PersonMapper {
|
||||
|
Loading…
x
Reference in New Issue
Block a user