Skip to content

Add inspections where properties are mapped more than once#271

Open
hduelme wants to merge 1 commit into
mapstruct:mainfrom
hduelme:Add-inspections-where-@ValueMapping-and-@SubclassMapping-are-mapped-more-than-once
Open

Add inspections where properties are mapped more than once#271
hduelme wants to merge 1 commit into
mapstruct:mainfrom
hduelme:Add-inspections-where-@ValueMapping-and-@SubclassMapping-are-mapped-more-than-once

Conversation

@hduelme

@hduelme hduelme commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Implements #265 value source mapped more than once for @ValueMapping and subclass source mapped more than once for @SubclassMapping.

I extracted the common part for proprieties mapped more than once into MoreThanOnceMappedAnnotationInspectionBase. In addition I upgrade the MapStruct version to 1.6.3, as other annotations are not possible as targets for @ValueMapping in 1.5.3.Final.

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.

1 participant