Mapster icon indicating copy to clipboard operation
Mapster copied to clipboard

A fast, fun and stimulating object to object Mapper

Results 267 Mapster issues
Sort by recently updated
recently updated
newest added

Based on[ these tests](https://github.com/MapsterMapper/Mapster/blob/master/src/Mapster.Tests/WhenRegisteringAndMappingRace.cs) and #86, #138 Depending on the speed and order of execution (configuration and Adapt()), one of the following situations can occur: 1) Incomplete configuration (the main...

Fixes: https://github.com/MapsterMapper/Mapster/issues/820 Fixes: https://github.com/MapsterMapper/Mapster/issues/566 (was closed due to a workaround) Description: The issue occurs because the code always attempts to wrap the result in `MapsterAsyncEnumerable`, even when the type does...

Very similar problem as here https://github.com/MapsterMapper/Mapster/issues/566 But I don't think that "materializing the query" is an acceptable workaround: This **WORKS** (without using `IMapper`) ```C# var template = await query .ProjectToType()...

bug
good first issue

Hello, I have an issue with Mapster when using the MapToConstructor functionality. If I have a ctor parameter that has an abstract type, and that parameter is null I get...

bug

first: public static TDest MapAdapt\(this object source, TDest dest) { return source.Adapt(dest); } second: public static TDest MapAdapt(this TSource source, TDest dest) { return source.Adapt(dest); } first method get result...

add Setting: `.InheritsLazy()` Lazy loads settings for inherited types during the first call to Adapt Example: ``` TypeAdapterConfig.NewConfig() .InheritsLazy() .Compile(); TypeAdapterConfig.NewConfig() .InheritsLazy() .Ignore(dest => dest.Name) .Compile(); TypeAdapterConfig.NewConfig() .Map(dest => dest.NumberDto,...

improvement