Refactoring Your API with DTOs
Have you ever exposed a database entity in your API response, only to realize later that you had an API break because of a database change? The DTO pattern helps solve these problems."
The DTO pattern is the use of a data object for sending and retri...
code-like-a-woman.hashnode.dev2 min read