Closed cvoiculescu closed 2 weeks ago
HI @cvoiculescu!
Would you be so kind and provide a small reproducer? The component model spring is irrelevant for the plugin.
Are your fields named like source_object
and/or source_attribute
? The plugin might be confused with this kind of spelling.
Thanks in advance!
Hello . The naming is not like that... those were just to emphasize the fact that i have an object with some properties. So ... my IntelliJ was peaking just the source object, but the attributes were underlined red. Lately, somehow it got resolved, but I guess that was an issue of IntelliJ not properly loading the plugin and only using the basic spring/mapstruct support for offered by IntelliJ. I jus disabled and reenabled the plugin, and those got recognized after.
I have defined a @Mapper(componentModel="spring") interface and in the map method I have multiple source objects. While placing the source to different source_object.source_attribute, the source_attribute is getting higlighted with error message "Can't find related attribute" I am using mapstruct version 1.5.2.Final and Intellij IDEA Ultimate 2024.2.4