mapstruct / mapstruct-idea

An IntelliJ IDEA plugin for working with MapStruct
Other
141 stars 38 forks source link

Disable unmapped target property warnings when implicitly mapping from a map #167

Closed thunderhook closed 10 months ago

thunderhook commented 11 months ago

See title, stumbled accross some examples while investigating another issue.

https://github.com/mapstruct/mapstruct/blob/main/processor/src/test/java/org/mapstruct/ap/test/frommap/MapToBeanImplicitMapper.java https://github.com/mapstruct/mapstruct/blob/main/processor/src/test/java/org/mapstruct/ap/test/frommap/MapToBeanImplicitUnmappedSourcePolicyMapper.java https://github.com/mapstruct/mapstruct/blob/main/processor/src/test/java/org/mapstruct/ap/test/frommap/MapToBeanRawMapMapper.java https://github.com/mapstruct/mapstruct/blob/main/processor/src/test/java/org/mapstruct/ap/test/frommap/MapToBeanTypeCheckMapper.java https://github.com/mapstruct/mapstruct/blob/main/processor/src/test/java/org/mapstruct/ap/test/frommap/StringMapToBeanMapper.java https://github.com/mapstruct/mapstruct/blob/main/processor/src/test/java/org/mapstruct/ap/test/frommap/StringMapToBeanWithCustomPresenceCheckMapper.java

hduelme commented 11 months ago

Hi @thunderhook Great finding. I would like to write a fix for this

thunderhook commented 11 months ago

I've assigned it to you, have fun! 😄