From 14b4abc0b7bc8daa7f53e540fdde0152b31cb585 Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Mon, 21 Jul 2025 13:54:56 -0400 Subject: [PATCH] chore(README): fix typos Signed-off-by: Alan Brault --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f5c40ae..cbc5d0e 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ and reduce the reliance on expensive reflection-based mapping. ## How It Works -The project **MapperSourceGen.SourceGenerator** contains a source generator that scans for classes decorated with the `GenerateMapperAttribute`. +The project **MapperSourceGen.SourceGenerator** contains a source generator that scans for classes decorated with the `MapperAttribute`. When it finds such a class, it generates a DTO and a mapping class for it. ### Example @@ -43,7 +43,7 @@ Let's say you have a class `Order` that you want to generate a DTO and mapping c **Order.cs** ```csharp -[Mapper] +[Mapper] // tells the source generator to generate a DTO and mapping class for this class public sealed class Order { [MapAlias("EntityId")] // renames Id to EntityId in the DTO