Skip to content

Improve line location report for invalid qualifier for SubclassMapping #3202

Description

@filiphr

In PR #3120 we added support for qualifiedBy and qualifiedByName. Our generic logic seems like it is putting the error line location on the method element itself. We should instead use the @SubclassMapping element for reporting the error.

This issue is a good issue to get started with MapStruct. If the original creator of the PR @EvaristeGalois11 is not interested in adding this, then I would invite someone from the community to give it a go.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions