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

Introduce two new attributes to include the mapping configuration of another mapper / mapping method. Each mapping configuration is identified by a name which is by default the name of...

enhancement

With https://github.com/riok/mapperly/pull/732 `IncludedMembers` has been implemented. This can currently only be set at class level in the mapper configuration. An `IncludedMembersAttribute` should be created to enable this on method level....

enhancement

**Is your feature request related to a problem? Please describe.** The nullable check guard can be seen i.e. [here](https://github.com/riok/mapperly/blob/main/test/Riok.Mapperly.Tests/_snapshots/UnsafeAccessorTest.PrivateNestedNullableProperty%23Mapper.g.verified.cs) causes duplicated call for source value. ```cs if (source.GetNested()?.GetValue() != null)...

enhancement

**Describe the bug** when i want map parent class with prop of list of child and child class have prop of parent class (simple parent child relationship) and use IQueryable...

enhancement

**Describe the bug** Mapperly does not correctly map classes that inherit from Collection types such as `List` or `IEnumerable`. It will ignore any properties on the target class and will...

bug

Add a step by step guide on how to migrate from AutoMapper to Mapperly.

documentation

**Is your feature request related to a problem? Please describe.** I want to create a mapper that can map to a derived type and the base type. I could not...

enhancement

**Is your feature request related to a problem? Please describe.** Using MapProperty to assign a nested value will prevent the root member being auto resolved from the source. ```C# [Mapper]...

enhancement

**Is your feature request related to a problem? Please describe.** It seems like Mapperly currently uses the target property setter visibility in an "existing target object" mapper (void method) to...

enhancement

**Describe the bug** I have a working "existing target object" (void method) mapper for a type that contains a collection property. If I change the collection property to an `init`...

bug