mercredi 28 février 2018

inheritance and custom logic in DTOs

As I know, aim of DTOs usage is to keep plain object for transport data. Could you provide some argument for or against usage of inheritance and custom logic in DTOs. It makes code difficult to read this is what I found as disadvantage. On other hand it may reduce some code duplication.

Aucun commentaire:

Enregistrer un commentaire