-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Support addAllProperty #1343
Copy link
Copy link
Open
Labels
Milestone
Description
Mapstruct 1.2 will detect addProperty method, if adder is prefered, will use this instead of getList().add(), this is very useful, e.g. jpa entity add children, or some builder only got adder method.
So, I suggest support addAllProperty instead of getList().addAll() or for loop addProperty, sometime, the builder can only addAllProperty, because getList() return an immutable view.
If there is a addAllProperty, it means "please use this method instead".
Reactions are currently unavailable