From e3425186ab038dd0271296dad74b809307a26e12 Mon Sep 17 00:00:00 2001 From: Alexander Turtsevich Date: Mon, 10 Jul 2023 03:11:37 +0300 Subject: [PATCH] correct README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8fe0991..ac8adfd 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ The common drawbacks of using mappers: In the most cases mapping splits into two independent scenarios: 1. Fetch DTOs from DB using automatic projections; -2. DTOs to entities and then save modified entities to DB; +2. Map DTOs to entities and then save modified entities to DB; In reality direct mapping from DTO to entity is rarely viable: there are validations, access rights, business logic. It means that you end up writing custom code for each save operation.