mapstruct / mapstruct-idea

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

Inspection for Mapping to target = "." without source #175

Closed hduelme closed 7 months ago

hduelme commented 8 months ago

As a followup of mapstruct/mapstruct#3540 I added an inspection to check if the target . is used without a source property. In addition I disabled the remove suggestion of the source property if the target is . and the options to use constant or expression as default values.

filiphr commented 7 months ago

Thanks @hduelme