lundi 22 novembre 2021

Does Information Expert pattern contradict Service Layer Pattern?

While reading about GRASP patterns I stopped at Information Expert, which states that behavior on classes state should be within that same class. But that is a complete opposite with Service Layer pattern which I used for years. Services have behavior for Domain objects' state. Which confuses me

I would be grateful for a thoughtful answer.

Aucun commentaire:

Enregistrer un commentaire