Content-Length: 297351 | pFad | http://github.com/mapstruct/mapstruct/pull/3082

CE #3072 Fixes proper ignoring of "removers" that often is accompanying … by jarlesat · Pull Request #3082 · mapstruct/mapstruct · GitHub
Skip to content

#3072 Fixes proper ignoring of "removers" that often is accompanying … #3082

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jarlesat
Copy link

@jarlesat jarlesat commented Nov 16, 2022

Ignore unmapped "removers" in target classes. Fluent removers are generated by tools like OpenAPI generator, preventing the use of unmappedTargetPolicy=ERROR unless adding @Mapping(target='removeItem', ignore=true) for every single remover.

Fixes #3072

@jarlesat
Copy link
Author

Should this branch be rebased on main, as main now is version 1.7-SNAPSHOT? Anything else that should be done with it?

@filiphr
Copy link
Member

filiphr commented Nov 21, 2024

Sorry I have not reviewed this. @jarlesat it would indeed be good to rebase it on top of main.

Additionally, if you can move the test in org.mapstruct.ap.test.collection.remover it would be great. Now it us under bugs, but this is not a bug, it's a new feature.

@jarlesat
Copy link
Author

jarlesat commented Dec 3, 2024

Please let me know if there are anything more that should be done, test cases or anything. Maybe branch-name?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MapStruct recognizes 'remove' method as property
2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/mapstruct/mapstruct/pull/3082

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy