◐ Shell
clean mode source ↗

[#3837] Add warning/error for redundant ignoreUnmappedSourceProperties entries by codeswithritesh · Pull Request #3906 · mapstruct/mapstruct

Thanks for the suggestion, gnuemacscoin! I have updated the validation messages as recommended.

Below are example warning/error messages generated by MapStruct using the format:
"Source %s mapped despite being listed in ignoreUnmappedSourceProperties."

• For a single source property:
"Source property 'email' is mapped despite being listed in ignoreUnmappedSourceProperties."

• For multiple source properties:
"Source properties 'email', 'username' are mapped despite being listed in ignoreUnmappedSourceProperties."

Let me know if you'd prefer a different phrasing.

@filiphr When you have a moment, could you please take a look at this PR? Your feedback would be appreciated.