Zegveld
Zegveld
introducing `@AnnotateWith` for adding custom annotations to classes or methods. closes #1574
- [ ] Merge main branch and fix moved imports. (Periodically needed) - [ ] Write in the README.md how to use the testutils in other modules. - [ ]...
closes #2901
The mapstruct test-utils are handy for testing code generators. I would like to also use these test-utils for testing our generators. Can this be supplied as a separate module from...
One small side note (ticket #2882, commit #2883): In `processor/src/main/resources/org/mapstruct/ap/internal/model/macro/CommonMacros.ftl` we pass down `targetPropertyName=ext.targetPropertyName` and `targetType=ext.targetType` in `` Correction for `targetType=ext.targetType` is missing in `` or it will fail in...
I've seen tests fail randomly, so this will also make some mappings inconsistent at rare moments. Chance of happening seems to be below 0.1% of the time, but would be...
When you currently specify a component model specific annotation, while also referring to that component model will generate invalid code. For example: ``` @Mapper( componentModel = "spring" ) @AnnotateWith( value...
When using subclass mappings the method itself is accepted as a possible conversion method. This is not wanted, work around is to manually define the subclass mapping methods. Reproduction scenario:...
Was doing a lot of generics stuff lately, so figured I'd also give this one a try. Debugging I noticed that it did the second match check with the `sourceType`...
First step in allowing generic mappings as long as the generic itself doesn't change. closes #2954