Expected behavior
no error
Actual behavior
source property X is unmapped
Steps to reproduce the problem
try example https://mapstruct.org/documentation/stable/reference/html/#mapping-nested-bean-properties-to-current-target with unmappedSourcePolicy = ReportingPolicy.ERROR,
Also, when I have method with 2 arguments, I specify @Mapping(source = "arg1.field1.nestedField2") but then I only have to do @BeanMapping(ignoreUnmappedSourceProperties = "nestedField2") instead, might be another bug
MapStruct Version
1.6.3
Expected behavior
no error
Actual behavior
source property X is unmapped
Steps to reproduce the problem
try example https://mapstruct.org/documentation/stable/reference/html/#mapping-nested-bean-properties-to-current-target with
unmappedSourcePolicy = ReportingPolicy.ERROR,Also, when I have method with 2 arguments, I specify
@Mapping(source = "arg1.field1.nestedField2")but then I only have to do@BeanMapping(ignoreUnmappedSourceProperties = "nestedField2")instead, might be another bugMapStruct Version
1.6.3