Reputation: 3628
Is there support in MapStruct for parametrized constructors?
I found in many posts from 2015 that this feature will be implemented in 1.1
release. Now I'm using 1.1.0.Final
but I'm not able to find out in doc how to map target object that requires parametrized constructor.
Is this feature implemented?
Upvotes: 3
Views: 21907
Reputation: 6533
Support for parametrized constructors is available since version 1.4 as described in chapter "Object Factories".
Upvotes: 5