-
-
Notifications
You must be signed in to change notification settings - Fork 1k
#2101 inherited properties need to be analysed against redefined properties when inheriting mappings #2103
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
Conversation
|
@filiphr .. shall we add the reproducer anyway..? Always good to have additional UT. |
|
This is a tricky one. Basically what happens it the following mapper: Perhaps when doing the inverse inheritance if there is a target mapping which has the reversed segment we should not use it. |
filiphr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I have only one comment
processor/src/main/java/org/mapstruct/ap/internal/model/source/MappingMethodOptions.java
Outdated
Show resolved
Hide resolved
filiphr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Possibly need to add some unit test.. Although quite some testcases failed when I implemented it wrong 😄