mapperly icon indicating copy to clipboard operation
mapperly copied to clipboard

A .NET source generator for generating object mappings. No runtime reflection.

Results 140 mapperly issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** Thanks for the new IncludedMembers features with private member mapping, I love it! What would put me over the moon...

enhancement

The release notes of Mapperly are generated using the semantic commit messages and [semantic-release](https://github.com/semantic-release/semantic-release). To give credits to the contributors the release notes should include the name of the contributor...

enhancement

Similarly to [Automapper](https://docs.automapper.org/en/latest/Dynamic-and-ExpandoObject-Mapping.html), Mapperly should support mapping objects and `Dictionary` to and from `dynamic` types. Supporting `DeepClone` may be tricky, plus should we assume that all dynamic types are [ExpandoObject](https://learn.microsoft.com/en-us/dotnet/api/system.dynamic.expandoobject?view=net-8.0)...

enhancement

## Description Having two members with case insensitive similar names would cause mapperly to fail. `value` & `Value` - Make `TargetMember` case sensitive - Added case insensitive member removal for...

**Is your feature request related to a problem? Please describe.** If I have a target type that has a required property (or constructor parameter) and the source type does not...

enhancement

A common mistake with `MapProperty` is to include the type name as part of the string. This usually occurs when mapping a deeply nested property and the user removes `nameof`...

enhancement

**Is your feature request related to a problem? Please describe.** Docs don't mention how mapperly reuses user defined mappers. Could be its own section or added to **User implemented mapping...

documentation

**Is your feature request related to a problem? Please describe.** It is valid to write the following: ```cs dbContext.MyEntity .Select(x=> new MyDto { MyEnum = ConvertEnum(x.DbEnum), }) .ToListAsync() MyEnum ConvertEnum(DbEnum...

If a class has a nested member which is flattened without the member name prefix, each member needs a manual `MapProperty` attribute to be mapped correctly. This could be simplified...

enhancement

Support for generic `IQueryable` mapping methods: ```c# public static partial System.Linq.IQueryable Map(System.Linq.IQueryable source); private B Map(A source); private D Map(C source); // generates public static partial System.Linq.IQueryable Map(System.Linq.IQueryable source) {...

enhancement