❌ I removed AutoMapper…

by Remy van Duijkeren | Jan 12, 2024 | Shorts

❌ I removed AutoMapper...

It was making my code more complex without reaping the benefits 🚫.

Why? 🤔

Low no. of entities to map in my codebase.

I was defining all field mappings anyhow because I like explicit mappings. 🧩

So, it didn't solve a problem for me. But it made mappings more complex. 📚

What did I replace it with? 🔄

static Create methods on my DTO's, like FromCustomer() and ToCustomer().🚀

Works perfect for me! ✔️👌

What do you think? 🧐

Related

Hourly billing kills love.

Hourly billing kills love. I saw it happen again and again at implementation partners. Everything starts fun… and then it slowly burns down. Year 1:...

Read More