From 2f8eb41f77c47351b157d4e9658af29289c1a309 Mon Sep 17 00:00:00 2001 From: David Kwong <48238174+brahms116@users.noreply.github.com> Date: Tue, 13 Feb 2024 16:45:27 +1000 Subject: [PATCH] Fix typo in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d8a37ca..70be491 100644 --- a/README.md +++ b/README.md @@ -185,7 +185,7 @@ export class User extends AggregateRoot implements UserProperties { This approach to modeling the business domain is well documented. It's clear what actions a user can perform, what the business rules are those actions, and what data updates as a result. -Each time an action method is called on a domain objecft, an event is prepared and applied to the `when()` protected method. This method does a number of things: +Each time an action method is called on a domain object, an event is prepared and applied to the `when()` protected method. This method does a number of things: * It adds the event into the list of new changes made to the aggregate * It increments the verison of the aggregate as data has now changed @@ -251,4 +251,4 @@ export class UserWriteRepository extends WriteRepository { super(User, UserWriteModel, databaseConnection, logger) } } -``` \ No newline at end of file +```