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

We have POCOs with the same type name in different namespaces. Adding `-p` fixes the ambiguous reference, but generates enum mapping like ``` Mapster.Utils.Enum.Parse(Mapster.Utils.Enum.ToString()), ``` that fails to compile with...

I have the following mapping configuration: ```cs [Mapper] public interface IInterfaceMapper { _ClassB MapTo(_ClassA cA); } public class InterfaceMappingRegister : IRegister { public void Register(TypeAdapterConfig config) { config.NewConfig() .Map(x =>...

Not sure if this can be fixed in Mapster but I'm getting this crash when running a MAUI app on a physical iPhone (running in a simulator is fine). Mapster...

This PR introduces two new extension methods, `ValidateAndAdapt`, for the Mapster library. These methods ensure that all properties in the destination type either exist in the source type or are...

Hello, I'm struggling to register a mapster configuration using .Scan function from Mapster DI. I have a specific date time parser that I want to assure that all strings are...

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...

`TypeAdapterConfig.ForType().ConstructUsing(dest => new PagedList(new List(), 1, 1));` = > its work `TypeAdapterConfig.ForType().ConstructUsing(dest => new PagedList(new List(), 1, 1));` it doesn't work and throw Exception Exception => System.InvalidOperationException : No default...

waiting for info