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

It crashes inside library without any exception when mapping the ef enitity with property like this: ` public virtual ICollection Admins { get; set; } = [];` and only way...

I upgraded fec 4.2.2 (https://github.com/dadhi/FastExpressionCompiler/releases/tag/v4.2.2) and **Compile** throws exception. ``` config.NewConfig() .Map(dest => dest.Email, src => src.User.Email) .Map(dest => dest.PackageName, src => src.PackageName) .Map(dest => dest.CreatedAt, src => src.CreatedAt) .Map(dest...

Hello I am experiencing an error with an edge-case of inheritance mapping. When mapping between two abstract classes, Mapster cannot handle when the source-object is null. An example of this...

Hi, does Mapster cache class information? Is there a possibility of memory leakage when reloading classes using ALC Thank you for your reply

If you use IRegister to define the inheritance mapping like this: DerivedPocoProfile.cs ``` public class DerivedPocoProfile : IRegister { public void Register(TypeAdapterConfig config) { .NewConfig() .Inherits(); } } ``` SimplePocoProfile.cs...

improvement

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

Is it possible to add simpler extensions methods to `IMapper` and/or `TypeAdapterSetter` to simplify async mapping? Currently we have to ``` var dto = await poco.BuildAdapter() .AdaptToTypeAsync(); ``` or ```...

improvement

I am in the process of refactoring a project from automapper to mapster. I have run into an issue with mapping configs for generic classes e.g. ```C# CreateMap(typeof(derivedDto), typeof(derivedDomain)) .IncludeBase(typeof(baseDto),...

improvement

Unless you specify a naming strategy mapping to a record with properties all in upper case the destination value is not set. Works fine if the destination type is a...

duplicate

In our company we are currently evaluating switching from AutoMapper to Mapster. Therefore I just wanted to ask if this project is still being actively maintained? The last commit was...

waiting for info