Oliver Erhart
Oliver Erhart
Hi @rainer-wei! Thanks, that slipped through. This is also the case for `@BeforeMapping`. I provided a fix in #3680.
This can be done with the help of conditions: ```java @Mapper interface UpdateConditionMapper { @Mapping(target = "someName", source = "name") void update(Source source, @MappingTarget Target target); @Condition // when you...
Of course, sorry for the confusion. I have no idea how I got the source and target conditions mixed up. We don't support `@TargetProperty` yet? I can't find the issue...
Just for reference, this has also been asked in: * #798
> I'm not sure the fix is correct. > > How will this behave for something like: > > ```java > @Mapper > public interface CustomMapper { > > Target...
So, i tried to adapt the method retrieval process. It became confusing very quickly and hard to differ between callback lifecycle methods that belong to the builder object and the...
> Thanks @thunderhook. I'll need some time to think about this. I'm not too fond of the removals. I would prefer if we can select the right types when we...
@filiphr Short heads up: Unfortunately, I won't be able to do this any time soon. What do you think about merging the fix with this variant and creating a refactoring...
This may be related or even a duplicate of #2843
I also think it can be improved. I would like to have a look at it, but I need a reproducer. I haven't been able to create one. With `1.6.0.RC1`,...