mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
parent
e5c7fdb2f6
commit
d9ad48154a
@ -292,7 +292,7 @@ The source presence checker name can be changed in the MapStruct service provide
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
Some types of mappings (collections, maps), in which MapStruct is instructed to use a getter or adder as target accessor see `CollectionMappingStrategy`, MapStruct will always generate a source property
|
||||
Some types of mappings (collections, maps), in which MapStruct is instructed to use a getter or adder as target accessor (see `CollectionMappingStrategy`), MapStruct will always generate a source property
|
||||
null check, regardless the value of the `NullValueCheckStrategy` to avoid addition of `null` to the target collection or map.
|
||||
====
|
||||
|
||||
|
@ -130,7 +130,7 @@ You can find a complete example in the https://github.com/mapstruct/mapstruct-ex
|
||||
|
||||
The MapStruct code generator can be configured using _annotation processor options_.
|
||||
|
||||
When invoking javac directly, these options are passed to the compiler in the form _-Akey=value_. When using MapStruct via Maven, any processor options can be passed using an `options` element within the configuration of the Maven processor plug-in like this:
|
||||
When invoking javac directly, these options are passed to the compiler in the form _-Akey=value_. When using MapStruct via Maven, any processor options can be passed using `compilerArgs` within the configuration of the Maven processor plug-in like this:
|
||||
|
||||
.Maven configuration
|
||||
====
|
||||
|
Loading…
x
Reference in New Issue
Block a user