Skip to content

Conversation

jarlesat
Copy link

@jarlesat jarlesat commented Dec 3, 2024

This is a first take on it.

With this change fluent remover's will be ignored when verifying the mapper. A remover (removePassenger) is added to FluentCarDTO as part of the tests.

Tested it with IntelliJ as well and seems to be working as intended, but I would be more than happy for feedback and suggestions.

@hduelme
Copy link
Contributor

hduelme commented Dec 13, 2024

As you mentioned in #211, this depends on mapstruct/mapstruct#3072. To ensure consistency across all versions, the check should only be applied when a MapStruct version is detected in which the issue has been resolved.

@jarlesat
Copy link
Author

Thanks for the feedback. As soon as (and if) mapstruct/mapstruct#3072 is approved and merged, I will update the PR with a suggestion on how to do it. I guess that to extend MapStructVersion and MapstructUtil::resolveMapStructProjectVersion is the way to go.

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.

2 participants