diff --git a/README.md b/README.md index 357572d..0472083 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,11 @@ Additional DefaultAccessorNamingStrategy to support fluent API withXYZ setters. Mapstruct default naming strategy detects the methods `withFirstName` and `withLastName` (see example below) as extra -target fields are therefore cause an error, when the mapper is annotated with +target fields and therefore cause an error, when the mapper is annotated with `unmappedTargetPolicy = ReportingPolicy.ERROR`. +The additional naming strategy makes Mapstruct ignore the withXYZ setters. + ## Installation To use the extended naming strategy, just include it as project dependency alongside with mapstruct.