Skip to content

Support for MapStruct implementation #3397

@wonsuc

Description

@wonsuc

MapStruct supports several DI solutions.

However MapStruct only adds a constructor if there is at least one dependency used. If there are no dependencies then no constructor is created and thus it can't be injected.

With this limitation, it's hard to use Dagger for MapStruct's mapper class.

There is a PR for Dagger support but still in progress.

I wonder if Dagger deverlopers can support for complete implementation with MapStruct framework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions