mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#2719: added a note at the builder documentation to point towards the Before-/AfterMapping documentation.
This commit is contained in:
parent
59c5f40ac3
commit
277b6f5d2b
@ -445,6 +445,11 @@ The <<object-factories>> are also considered for the builder type.
|
|||||||
E.g. If an object factory exists for our `PersonBuilder` then this factory would be used instead of the builder creation method.
|
E.g. If an object factory exists for our `PersonBuilder` then this factory would be used instead of the builder creation method.
|
||||||
======
|
======
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
======
|
||||||
|
Detected builders influence `@BeforeMapping` and `@AfterMapping` behavior. See chapter `Mapping customization with before-mapping and after-mapping methods` for more information.
|
||||||
|
======
|
||||||
|
|
||||||
.Person with Builder example
|
.Person with Builder example
|
||||||
====
|
====
|
||||||
[source, java, linenums]
|
[source, java, linenums]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user