-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for completion and Go To Definition within Mapping#qualifiedByName - for shared configurations #136
Comments
This is already supported and covered with the following test ( If it doesn't work for you, would you mind making a minimal reproducible example? Oh... I see - we identify named methods from methods of referenced mappers ( @MapperConfig(uses = OptionalMapper.class)
public class MapperConfigUsingOptionalMapper {
@Named("thisIsCurrentlyNotCovered")
public int doSomething(long value) {
return 0;
}
} I will take care of it, thanks for pointing this out. |
In my case it looks like this:
I can't navigate to "qualifiedByName = "stringLength"" in the IDE. I have mapstruct 1.5.4, Intellij 2023.1, MapStruct Support 1.5.0 |
Thank you for the reproducal. The PR #137 handles references inside a
|
Thanks for working on this @thunderhook.
This is by design. Methods in a |
It works, thank you :) |
I love the feature described in #107 - it is extremely helpful. I would like it very much if it also worked in shared configuration classes as described here:
https://mapstruct.org/documentation/stable/reference/html/#shared-configurations
The text was updated successfully, but these errors were encountered: