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.




Albert Starreveld

Passionate about cloud native software development. Only by sharing knowledge and code we can take software development to the next level!