Replies: 1 comment
-
|
That's something we do not yet support. Have a look at #2257 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What if I need another mapper to create a mapping method implementation?
Since Java interfaces don't allow instance fields (nor should they), my mapper declaration must be an abstract class. However, it didn't help me much.
Here's what MapStruct generated:
It declared its own field instead of passing the mapper to
super()as I intended.So how do I reference other mappers in my mapping method implementations?
Beta Was this translation helpful? Give feedback.
All reactions