Latest / Developer tools

Mapperly

github.com · Package · Active

Source generator for .NET object-to-object mapping with no reflection

Visit github.com ↗Share

  • source generator
  • mapping
  • csharp sourcegenerator
  • roslyn
  • dotnet core
  • c sharp
  • dotnet object mapping
  • csharp source generator
Stars
4.2k
Forks
235
Open issues
53
Last commit
Releases
≥ 127
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

Mapperly is a .NET source generator that writes object-to-object mapping code at build time. Because it generates code instead of using runtime reflection, the mappings are plain C# that can be inspected. It suits .NET developers who move data between DTOs, entities and view models.

Repository description on GitHub: “A .NET source generator for generating object mappings. No runtime reflection.”

What it does

  • Generates object mapping code at build time with no reflection
  • Generated mapping code is readable and can be inspected
  • Minimal runtime overhead because mapping is compiled ahead of time

Good for

  • Map DTOs to entities in a .NET project without runtime reflection
  • Inspect generated mapping code to verify what it does

Suits: .NET developers moving data between DTOs and entities.

What you can try

Read the README on GitHub for install and quickstart steps.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Mapperly on , when latonz posted it to Show HN. The oldest published release on GitHub is v1.0.0-next.1, dated . Mapperly had been shipping tagged releases for 332 days before it was found. 127 releases or more have been published in total; the latest is v5.0.0-next.14 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 53 points, 69 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 2 releases shipped

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (30 in total, busiest month 4). Based on the most recent releases on record.
  1. Repository created on GitHub: riok/mapperly
  2. Release v1.0.0-next.1 (pre-release)
  3. Found: latonz posted it to Show HN. Show HN
  4. Release v5.0.0-next.9 (pre-release)
  5. Release v5.0.0-next.10 (pre-release)
  6. Release v5.0.0-next.11 (pre-release)
  7. Release v5.0.0-next.12 (pre-release)
  8. Release v5.0.0-next.13 (pre-release)
  9. Release v5.0.0-next.14 (pre-release)
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 127 releases. All releases on GitHub

Quick answers

When was Mapperly released?
Its first tagged release on GitHub is dated 14 Feb 2022. Kip found it on Show HN on 12 Jan 2023.
Is Mapperly open source?
Its source is public on GitHub at riok/mapperly under the Apache-2.0 licence.
What does Mapperly run on?
Library.
Is Mapperly free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Mapperly still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryriok/mapperly
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-34351665. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.