Skip to content

Conversation

@filiphr
Copy link
Member

@filiphr filiphr commented Aug 18, 2024

Fixes #3667
Fixes #3673

The main culprit for this was due to the fact that the MappingReference was using MappingOption equality and the MappingOption is based only on the targetName, but we need to take sourceName, constant and expression into consideration.

All the tests should be green, and I hope that this isn't causing another regression.

…Option equality instead of the default only target name based one
Copy link
Contributor

@thunderhook thunderhook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@filiphr filiphr merged commit 6c8a2e1 into mapstruct:main Aug 24, 2024
@filiphr filiphr deleted the 3667_3673 branch August 24, 2024 09:29
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.

Two different constants are ignored Deep mapping with multiple mappings broken in 1.6.0

2 participants