You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use some generated classes as target and sadly the code completion won't work.
I have reproduced and trimmed the generated class, so that the problem can be reproduced.
Note the comments inside the class to get the completion working (to find the culprit).
Thanks in advance. Please tell me when I can provide further help.
Thanks for the detailed reproducal @thunderhook. It helped locate the problem. There were 2 problems actually:
We incorrectly use constructor parameters from the Builder class
Generic builder methods were not properly recognized
Just FYI, with the current builder the MapStruct processor will treat withStatus as a single property. Therefore, @Mapping(target = "status", source = "input") is not valid and it needs to be @Mapping(target = "withStatus", source = "input")
That is unless you have a custom AccessorNamingStrategy.
First of all, thank your awesome work!
We use some generated classes as target and sadly the code completion won't work.
I have reproduced and trimmed the generated class, so that the problem can be reproduced.
Note the comments inside the class to get the completion working (to find the culprit).
Thanks in advance. Please tell me when I can provide further help.
The text was updated successfully, but these errors were encountered: