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

Mapster: 7.4.1-pre01 .Net: 8.0 Method `public static TDestination Adapt(this TSource source, TDestination destination)` ```C# public class ArticleEntity { public Guid Id { get; set; } public string Title { get;...

I have the following classes and patterns that Mapster can't work with. Specifically the pattern for overwriting the DerivedPayment in each of the derived classes. When debugging it shows that...

Hello all. We want to use mapster tool to auto-generate DTOs and Mappers. But we don't understand how we can declare custom mapping. For example: ``` var builder = config.AdaptTo("[name]Dto",...

``` csharp public sealed record FirstType() { public bool ChargeToAccount {get; init;} public string Name {get; set;} } public sealed record SecondType() { public bool CanChargeToAccount { get; init; }...

bug

I have an application with a plugin interface that lets plugins map custom types. However, these plugins must target netstandard2.0 and cannot target something like .Net 8. I don't see...

When trying to install the package on NET version 8.0, it says it's not compatible. It only supports NET version 6.0 or 7.0. Is there any plan or intention to...

I try to map from class A to class B, where B is missing a property of A. Usually, to do this you have to use `.Ignore(e => e.Property)` but...

bug
waiting for info

public class User { public string name { set; get; } } publicclass Bai { public string code { get; set; } } publicclass People { public Bai name {...

Im getting the above error. I cant quite figure out what its supposed to mean.? Looking at [this test](https://github.com/MapsterMapper/Mapster/blob/04ac871b55828c3909b6cee4764e6fab40db3983/src/Mapster.DependencyInjection.Tests/InjectionTest.cs#L35), I assume that its an old errormessage, and its supposed to...

We're using Mapster quite to the maximum extent that is somehow possible. With reflection we dynamically generate base mappings for polymorphic DTOs. Now the issue is, that we need to...