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

Bumps [Verify.XUnit](https://github.com/VerifyTests/Verify) from 17.8.1 to 17.9.0. Commits 298aa40 Update Directory.Build.props 00d76a3 DiffEngine Version 10.0.0 (#588) a9e299c Docs changes b6bab30 Update readme.source.md 1bd4552 DiffEngine" Version="10.0.0-beta.3 3ab094e Update Directory.Build.props ad8bf88 Add support...

dependencies
.NET

**Describe the bug** When using object initializer syntax, every member is initialized on the same line in a string like this: ```cs var target = new CarDto() {Prop1 = m.Prop1,...

enhancement

Sometimes you want to provide an external value to the mapping method. For example your DTO doesn't have a tenant id. You are getting the tenant id from the currently...

enhancement

Since source generators target .NET Standard, tests should be run on different dotnet runtimes. Relates https://github.com/riok/mapperly/pull/100

enhancement

**Is your feature request related to a problem? Please describe.** See https://github.com/riok/mapperly/discussions/96. Main use case is to merge two instances while only setting values which are non-null. **Describe the solution...

enhancement

With the current approach, almost everything is regenerated all the time. This should be better abstracted to make better use of the incremental source generator. Approaches to be discussed.

enhancement

Provide some complete mapper samples. Samples are a great way to get started for newer users or to check how specific features can be used.

documentation
enhancement

Mapperly creates new objects via `new T()` expressions. A user may want to resolve new objects via factories (e.g. via DI). MapStruct supports this via the object factory annotation (see...

enhancement

Add more detailed documentation. The current documentation in the README is just an overview to get started. Maybe use the GitHub wiki feature or as a separate website.

documentation

I am trying out Mapperly and am very impressed. Well done. I did however find a problem, I do get a stackoverflow error when using the UseDeepClone feature. What I...

enhancement