Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Regression: Missing import when upgrading to 1.2.0.Beta2 #1215
Hi, we were using Mapstruct version 1.1 but we are upgrading to 1.2 because we need Lombok support. After the upgrade, old mappers stopped working.
The problem is demonstrated in https://github.com/juriad/mapstruct-missing-import-1.2
Basically, this (in 1.1):
was replaced with this (1.2):
Notice that in version 1.2, the type Tag is not fully qualified, which causes a compilation problem.
Thanks a lot for the demonstration of the problem. I see that you have the workaround already.
For others: one needs to use
This is a regression of #999 We'll try to fix this with
@juriad I managed to find a solution for the problem. Before I make the PR and the change can you tell me if I can use your classes in a test, or should I create some similar ones? If I can use the same classes, do you want me to add your name to the author of the classes?