Skip to content

Commit

Permalink
refactor(domain): removed RootAggregate class
Browse files Browse the repository at this point in the history
  • Loading branch information
williamabreu committed Nov 17, 2021
1 parent 841ecd9 commit 60a7b16
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions kingdom_sdk/domain/aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,3 @@ def next_event(self) -> Event:
@property
def events(self) -> List[Event]:
return self._events


class RootAggregate(Aggregate, ABC):
"""Base class for root aggregates.
There's only one root aggregate for each bounded context.
"""

0 comments on commit 60a7b16

Please sign in to comment.