Jul 25, 2023
Hi Alex,
In this story I’m proposing a way to reduce mapping from the api -> domain/core perspective. You are correct. You’ll still need mapping from the core to the database.
Instead of mappings there, you can also use entity framework to convert the values for you. (Assuming you’re using SQL server, that is..)
I’ll write an article about that too. Stay tuned.
Cheers,