3.5.0 (2024-04-05)
Bug Fixes
- correctly assign null if target is nullable instead of throwing (#1191) (f08b7b4)
- do not generalise enumerable dictionary value types (#1155) (b4d5e74)
- Increase RMG060 default severity from info to warning (#1173) (3cba05b)
- map init only collection in existing target mapping correctly (#1190) (c9b4b17)
- resolve user mappings correctly when reference handling is enabled (#1162) (d303198)
Features
- add diagnostic if no members are mapped (#1129) (732cec4)
- Add MapperIgnoreMemberAttribute to ignore members at declaration (#1143) (ebce68e)
- Add option to disable automatic discovery of user implemented mapping method and to include/exclude specific user implemented mapping methods (#1070) (4e4937c)
- allow property mappings to use specific conversion (#1072) (61716b9)
- allow usage of mappings in MapPropertyAttribute.Use which are attributed with UserMappingAttribute (#1151) (1f0b3c5)
- allow user implemented mappings to be marked as default (#1071) (79f60cd)
- improve generated method names by including generic type names (#1168) (fb482a0)
- Inline user implemented queryable mapping expressions (#1169) (530066f), closes #953
- report a diagnostic for invalid MapPropertyAttribute usages (#1130) (b8b9e2a)
- rework generic type matching (#1199) (1e78844)
- support required mapping strategies on enums (#1073) (edc4933)
- validate usage of MapProperty attributes on enum and queryable mapping methods (#1074) (fbe7894)