No Business Logic

Avoid putting any business logic — even validation — inside your request objects. Validation should take place inside your Domain — this is inside your Entities, Value Objects, Domain Services, etc. Validation is a way of enforcing business invariants and Domain constraints.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset