Skip to content

Commit 4308324

Browse files
Fix typos
1 parent f31b21f commit 4308324

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ This change might be calculated by dirty checking or we might just override enti
257257
Third option is _Let's make implicit explicit_ and actually call this state change A->B an **event**.
258258
After all, event-driven architecture is all about promoting state changes as domain events.
259259

260-
Thanks to this our domain model may become immutable and just return events as results of invocking a command like so:
260+
Thanks to this our domain model may become immutable and just return events as results of invoking a command like so:
261261

262262
```java
263263
public BookPlacedOnHold placeOnHold(AvailableBook book) {

docs/design-level.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ in **book hold failed** event, as it is depicted below:
2525

2626
![Holding example 2](images/dl/holding/example-2.png)
2727

28-
Taking a look at the domain description again, we find out that each patron can have no more than 1 **overdue checkouts**.
28+
Taking a look at the domain description again, we find out that each patron can have no more than 2 **overdue checkouts**.
2929
In such situation, every attempt to **place a book on hold** should fail:
3030

3131
![Holding example 3](images/dl/holding/example-3.png)
@@ -53,7 +53,7 @@ And here is the last example, partially covered before:
5353

5454
![Holding example 6](images/dl/holding/example-6.png)
5555

56-
### Regular patron
56+
### Researcher patron
5757

5858
In the previous part of this paragraph we focused on a *regular patron* only. Let's have a look at *researcher patron* now.
5959
The domain description clearly states that **any** patron with more than 2 **overdue checkouts** will get a rejection

0 commit comments

Comments
 (0)