DocSvartz

Results 25 issues of DocSvartz

Fix Issue #656 Partial fix issue #422 Fix MapToTarget generation to not Public setters (init Prorperty also working in Mapster 7.4.0) Not Fix AdaptTo - need use `.MapToConstructor(true)`; example ```...

before: When you mapping To primitive and string always using [converter logic](https://github.com/MapsterMapper/Mapster/wiki/Data-types#primitives) now You can use Custom Conversion logic supported: .MapWith() .MapToTargetWith() Supporting primitive type from [source code](https://github.com/MapsterMapper/Mapster/blob/04ac871b55828c3909b6cee4764e6fab40db3983/src/Mapster/Utils/ReflectionUtils.cs#L15) > typeof(bool)...

Fix Issue: #501 - _test named OnlyInlineRecordWorked_ (regarding not filling the record with data in the given case) Add 1) (InlineExpression is Worked) Field Activation passing Field values not specified...

Fix issue #524 Before: if Type was packaged into an object: `object _source = new TSource() ` Instead of updating with data from TSource, it was converted to the TDestination...

Fix from Isuue #640 It Will Work When Enum Cast to object. I'm not sure this is the right way.

Add async mapping extensions: - `AdaptAsync()` - `MapAsync(source)` from IMapper Example of use: ``` var dto = await poco.AdaptAsync(); IMapper mapper= new Mapper(); var destination = await mapper.MapAsync(poco); ```

improvement

- [x] Custom SourceDefaultValue (Member only) - [ ] ThrowifNull behavior - [x] ThrowifNull (Member only) - [ ] ThrowifNull all member

improvement