← Graph

Keep Entities Free Of Messaging

takeaway 2 connections

Recommendation: entities should contain only core business logic and be readable as a specification of the domain. They should not accept command messages, decode command attributes, or return events. Kept this way, an entity could be moved from Eventide to an ORM without change — entities are your biggest, strongest asset.

type
recommendation
takeaway Keep Entities Free Of Messaging
about
Directly addresses the first anti-pattern.
takeaway Keep Entities Free Of Messaging
from_talk
Recommendation from the first anti-pattern.

Provenance

Read by
1 extraction