ModelMapper for simple mapping of objects

ModelMapper

Today we will see how to implement a ModelMapper that allows us, for example, to transform an object with many properties into a smaller object with fewer properties. This transformation can be useful when we need leaner objects, perhaps in a list, or when we want to expose only some […]

Read More…

Angular Adapter pattern

Angular Adapter pattern

Let’s see an Angular version of the Adapter pattern.Mapping allow us to decrease coupling between what arrives from a remote BE on our FE. We can take advantage of one of the Gang of Four’s design patterns (the Adapter pattern) to transform the external response in what we want. Adapter […]

Read More…