mapstruct-idea icon indicating copy to clipboard operation
mapstruct-idea copied to clipboard

Plugin incorrectly gives umapped target warning for Immutables-classes

Open sleicht opened this issue 2 years ago • 0 comments

From the immutables generated classes have the builder method 'from(...)' which creates a new copy of an instance as builder instance. The mapstruct processor correctly handles those methods in the ImmutablesAccessorNamingStrategy. The IntelliJ plugin, on the other hand, does add those methods as missing property into the problem list: Unmapped target property: from.

sleicht avatar Apr 14 '23 12:04 sleicht