Mapster
Mapster copied to clipboard
A fast, fun and stimulating object to object Mapper
I have a Domain and Dto layer in my solution which both have the following classes (DomBase, DomDerived, DomPayment & DerivedDomPayment in domain layer): ```C# public class DtoBase { public...
Sample with FastExpressionCompiler usage commented out, working as expected: ``` csharp using FastExpressionCompiler; using Mapster; // TypeAdapterConfig.GlobalSettings.Compiler = exp => exp.CompileFast(); TypeAdapterConfig .NewConfig() .Map(dest => dest, src => src.Type ==...
I have just used Mapster, and I think it is very powerful, but I seem to have discovered a problem, that is: using the mapster tool to generate dto in...
We've noticed that your package on NuGet.org is missing a README file. ## Why READMEs are Important A README is essential for users to understand your package's purpose and functionality...
Hello, I am using mapster with fec and I am very happy :) But i am curious about something.. Is there any way for using source generators which is Mapster.Tool...
Add conditions on TargetFrameworks for `Microsoft.EntityFrameworkCore` references. Remove `-pre01` suffix. Update many dependencies to recent versions.
For example there are 2 classes: ``` public class Source { public int? IntValue { get; set; } public string StringValue { get; set; } = "Some Value"; } public...
hi. thanks for this powerful and developer-friendly library I want to map to `record` with this senario: ``` csharp using System.Text.Json; using Mapster; var sourceInstance = new MyDTOWithConstructor(2, "Sajjad"); var...
I found some pretty weird behaviour with Mapster 7.4.0... Imagine you have the following DTOs: ``` public class Source { public long Id { get; init; } } public class...
Hi, I'm having troubles getting the category filter to work with the 'Cluster by Category' option when using Mapbox. See below my configuration: Features config:  Filters & List config:...