Skip to main content

Mapperly

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

Easy to Use Object-Object Mapper

Mapperly is a .NET Source Generator that simplifies the implementation of object to object mappings. One only needs to define the mapping methods signature. The implementation is provided by Mapperly.

Fast & Readable

Because Mapperly creates the mapping code at build time, there is minimal overhead at runtime. Even better, the generated code is perfectly readable, allowing you to verify the generated mapping code easily.

Powered by source generators

Mapperly works by using .NET Source Generators. Since no reflection is used at runtime, the generated code is completely trimming safe and AOT friendly.