Eliminating Mapping and Redundant Validation in Domain-Centric APIs with JsonConverters and ModelBinding

Albert Starreveld
6 min readJul 12, 2023

Numerous applications are designed adhering to the principles of Clean Architecture and Domain-Driven Design (DDD). They have a rich domain models that protect the business invariants.

In most cases, this manifests in an application that has a Core library that contains Aggregates , Entities , and Value-types . Following the clean architecture principles, it will contain UseCases too. They are the implementation of the business-processes the application…

--

--

Albert Starreveld

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