Transformers for a cleaner development

Clean coding strategy using Transformers

Always define the smallest of the transformations as a transformer, this makes your configuration highly readable.

The single-responsibility principle states that a method should be responsible for only a single functionality. Transformers can be envisioned as functions that are used to add functionality to the pipeline. It is recommended that the transformers be first named based on their specific and the transformations defined within them are related to the name defined. This ensures that there is a clear distinction between transformers in the long run promoting maintainability and reusability.