Hi,
We have scheduled support for mapping target types with custom
constructors for MapStruct 1.1 (see
https://github.com/mapstruct/mapstruct/issues/73), so far no one had
the need for mappers with non-default constructors.
It should be no problem for Spring/CDI, so I suppose you are working
with the default component model? We could add another method
getMappers(Object... args) to the Mappers factory. But we'd have no
way for checking type correctness, so that'd be on the user. It still
would not work for mappers referenced via @Mapper#uses(), though.
Cheers,
--Gunnar
> --
> You received this message because you are subscribed to the Google Groups
> "mapstruct-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
mapstruct-use...@googlegroups.com.
> To post to this group, send email to
mapstru...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.