-
-
Notifications
You must be signed in to change notification settings - Fork 924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support overloading for target #1135
Comments
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Mar 12, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Mar 14, 2017
…- property mapping
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Mar 16, 2017
…for property mapping
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Mar 27, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Mar 31, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Mar 31, 2017
…for property mapping
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Mar 31, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Mar 31, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Mar 31, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Mar 31, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Apr 1, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Apr 1, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Apr 1, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Apr 1, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Apr 1, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Apr 1, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Apr 4, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Apr 21, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Jun 1, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Jun 1, 2017
quantumlexa
pushed a commit
to quantumlexa/mapstruct
that referenced
this issue
Jun 1, 2017
+1 |
1 similar comment
+1 |
This was never merged? Is there a particular reason? |
The PR for this hasn't been merged since the MapStruct team hasn't had the time to look into it in detail. The PR is not a small change (functionality wise). Therefore, we need to be careful when merging it. |
Is there an estimation about when this may be merged? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mapstruct does support overloading of target setters(see: Issue892Test test) but choosing preferred type logic is based on getter type of target - not source, which looks a bit strange.
org.mapstruct.ap.internal.model.common.Type#getPropertyWriteAccessors: line 465
Please see unit test:
Source:
Target:
Mapper:
UnitTest:
The text was updated successfully, but these errors were encountered: