updated documentation
This commit is contained in:
@ -3,9 +3,11 @@
|
|||||||
Additional DefaultAccessorNamingStrategy to support fluent API withXYZ setters.
|
Additional DefaultAccessorNamingStrategy to support fluent API withXYZ setters.
|
||||||
|
|
||||||
Mapstruct default naming strategy detects the methods `withFirstName` and `withLastName` (see example below) as extra
|
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`.
|
`unmappedTargetPolicy = ReportingPolicy.ERROR`.
|
||||||
|
|
||||||
|
The additional naming strategy makes Mapstruct ignore the withXYZ setters.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
To use the extended naming strategy, just include it as project dependency alongside with mapstruct.
|
To use the extended naming strategy, just include it as project dependency alongside with mapstruct.
|
||||||
|
|||||||
Reference in New Issue
Block a user