1306 Commits

Author SHA1 Message Date
thunderhook
4af76ec317 #3601 provide fixture tests 2024-06-04 21:59:33 +02:00
GitHub Action
8a679b325d Next version 1.6.0-SNAPSHOT 2024-05-11 07:10:47 +00:00
GitHub Action
21a8b88a0f Releasing version 1.6.0.Beta2 2024-05-11 07:01:58 +00:00
Filip Hrisafov
b33942a010 #3561 Add test case 2024-05-01 08:15:44 +02:00
Filip Hrisafov
0a2a0aa526
#2610 Add support for conditions on source parameters + fix incorrect use of source parameter in presence check method (#3543)
The new `@SourceParameterCondition` is also going to cover the problems in #3270 and #3459.
The changes in the `MethodFamilySelector` are also fixing #3561
2024-04-29 08:05:52 +02:00
Filip Hrisafov
0a935c67a7 #3565 Presence check methods should not be considered as valid mapping candidates 2024-04-28 20:22:53 +02:00
hduelme
8e66445fe9
#3564 Correct issue key for Issue3485Test 2024-04-02 12:00:41 +02:00
Oliver Erhart
e815e3cb1e
#3524 Provide tests with Lombok style super builders 2024-03-10 09:15:37 +01:00
hduelme
2c12e75bfc
#3485 Exception for Mapping to target = "." without source 2024-03-03 18:59:32 +01:00
Filip Hrisafov
c374b5267f
#3360 Do not report unmapped source and target properties when result type is abstract due to runtime exception subclass exhaustive strategy (#3526) 2024-02-11 19:53:38 +01:00
Zegveld
bb1cd63485
#2788 Improve unmapped source properties message for forged methods 2024-02-11 13:29:34 +01:00
Filip Hrisafov
ca1fd0d85d
#3331 Do not handle defined mappings if the result type is abstract due to runtime exception subclass exhaustive strategy (#3487) 2024-02-11 12:51:19 +01:00
Oliver Erhart
8191c850e0
#3323 Support access to the source property name 2024-02-11 10:42:23 +01:00
hduelme
0a43bc088f
Add missing generic type to Javadoc Builder (#3499) 2024-01-28 18:07:57 +01:00
hduelme
90a3ce0b46
Use primitive types in NativeTypes (#3501) 2024-01-28 18:06:42 +01:00
hduelme
6322138028
Add missing generic diamond operator to MappingOptions (#3498) 2024-01-28 17:50:33 +01:00
Filip Hrisafov
60f162ca88
#3463 DefaultBuilderProvider should be able to handle methods in parent interfaces 2024-01-28 17:47:39 +01:00
Filip Hrisafov
6cb126cd7c
#3462 Stream getters should not be treated as alternative setter 2023-12-31 09:34:34 +01:00
Oliver Erhart
7e6fee8714
#1064 Provide a switch to turn off CheckStyle on generated test sources 2023-12-27 13:40:04 +01:00
Filip Hrisafov
6d99f7b8f3
#3473 Add Java 21 and EA to build matrix
Fix tests not running green on Java 21
Update Spring to run correctly on Java 21
2023-12-18 07:35:26 +01:00
mosesonline
fa857e9ff4
bump some lib versions (#3460) 2023-12-10 15:26:47 +01:00
Ravil Galeyev
930f5709b6
#3400 Remove unnecessary casts to long and double 2023-11-29 22:25:22 +01:00
Muhammad Usama
2bb2aefed8
#3413 Using Mapping#expression and Mapping#conditionaQualifiedBy(Name) should lead to compile error 2023-11-24 06:34:15 +01:00
Filip Hrisafov
04deac2b3a [maven-release-plugin] prepare for next development iteration 2023-11-04 23:06:17 +01:00
Filip Hrisafov
0ac0c42dbc [maven-release-plugin] prepare release 1.6.0.Beta1 2023-11-04 23:06:16 +01:00
Xiu Hong Kooi
5d39314bd2
#3376 support mapping from iterables to collection 2023-10-31 23:55:11 +01:00
Filip Hrisafov
c59eca2a77
#3361 Inheriting mappings should only be applied if the target has been redefined 2023-09-30 21:52:07 +02:00
GVladi
f61a3acec3 #3089 Improve support for Map attributes for Immutables
Co-Authored-By: thunderhook <8238759+thunderhook@users.noreply.github.com>
2023-09-16 10:56:52 +02:00
Ben Zegveld
8cc2bdd092 #3163: Strip wild card when checking for type assignability 2023-08-13 09:26:53 +02:00
Zegveld
721288140a
Feature/2663 (#3007)
#2663 Fix for 2-step mapping with generics.

---------

Co-authored-by: Ben Zegveld <Ben.Zegveld@gmail.com>
2023-08-04 10:14:53 +02:00
Filip Hrisafov
812faeef51 Use presence checks for checking source parameter presence
Instead of explicitly doing a null check use a PresenceCheck mechanism for
* BeanMappingMethod
* ContainerMappingMethod
* MapMappingMethod
2023-08-01 15:41:19 +02:00
Anton Erofeev
b2dc64136d
#3292 Simplify expressions, remove redundant expressions 2023-08-01 14:17:50 +02:00
Venkatesh Prasad Kannan
279ab22482
#3309 Add BeanMapping#unmappedSourcePolicy 2023-08-01 09:48:20 +02:00
Filip Hrisafov
28d827a724 Add test case for subclass mapping and bean mapping ignore by default 2023-07-30 10:39:10 +02:00
Lucas Resch
0460c373c0
#3229: Implement InjectionStrategy.SETTER 2023-07-30 10:38:24 +02:00
Filip Hrisafov
4abf2d4202 #3317 Do not generate source parameter if check for only primitives 2023-07-09 15:01:06 +02:00
Filip Hrisafov
53c73324ff #3310 Make sure that adders work properly when they are in a generic class 2023-07-09 15:00:57 +02:00
Zegveld
04434af17a
#3296: Skip default and static methods when determining prototype methods 2023-07-08 18:03:56 +02:00
Filip Hrisafov
86919c637f
#3144 Map to Bean should only be possible for single source mappings and if explicitly used in multi source mappings 2023-05-28 09:55:40 +02:00
Filip Hrisafov
62d1bd3490
#3280 Refactor method selection and use a context to be able to more easily access information 2023-05-27 15:04:34 +02:00
Filip Hrisafov
c2eed45df1 #3126 Apply target this references in the BeanMappingMethod 2023-05-27 11:17:01 +02:00
Oliver Erhart
51f4e7eba9
#3231 Prefer record constructor annotated with @Default 2023-05-24 06:04:13 +02:00
José Carlos Campanero Ortiz
84c443df9c
#3245 Remove redundant null checks in nested properties 2023-05-24 05:44:36 +02:00
Oliver Erhart
6d205e5bc4
#1454 Support for lifecycle methods on type being built with builders
Add missing support for lifecycle methods with builders:

* `@BeforeMapping` with `@TargetType` the type being build
* `@AftereMapping` with `@TargetType` the type being build
* `@AfterMapping` with `@MappingTarget` the type being build
2023-05-21 22:49:41 +02:00
paparadva
7c90592d05 #2863 Add validation of String type to @TargetPropertyName 2023-05-21 22:21:34 +02:00
Filip Hrisafov
efaa67aadf #3104 Update methods with NullValuePropertyMappingStrategy.IGNORE should use SetterWrapperForCollectionsAndMapsWithNullCheck 2023-05-20 17:04:59 +02:00
Filip Hrisafov
a89c34f00c #3238 Compile error instead of null pointer exception for invalid ignore with target this 2023-05-20 17:04:22 +02:00
Jason Bodnar
d0e4c48228
#3172 Add mapping between Locale and String 2023-05-08 22:23:03 +02:00
Zegveld
bc5a877121
#3054: Allow abstract return type when all directly sealed subtypes are covered by subclass mappings
Co-authored-by: Ben Zegveld <Ben.Zegveld@gmail.com>
2023-05-01 11:54:24 +02:00
MengxingYuan
f3dac94701
#2781 Remove unmapped source properties when source parameter is directly mapped 2023-05-01 10:28:51 +02:00