Skip to content

Commit ddb5caf

Browse files
committed
Fix typo
1 parent cf3ac23 commit ddb5caf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/concepts/models.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ title: Models
33
---
44

55
Models in Krescent are the core components of the framework yet relatively loosely defined. In essence, they are
6-
end-user flavored event handlers with additional syntactic sugar. While there is base `EventModelBase`, you will mostly
6+
end-user flavored event handlers with additional syntactic sugar. While there is a base `EventModelBase`, you will
7+
mostly
78
be using flavors of the `ReadModelBase` and the `WriteModelBase` classes, so let's take a look at them.
89

910
## Read Model
@@ -91,8 +92,8 @@ entity id or related entity ids, similar to [Dynamic Consistency Boundaries](htt
9192
#### Example Write Model
9293

9394
```kotlin
95+
// [!code focus:8]
9496
class BookWriteModel(
95-
// [!code focus:8]
9697
val bookId: String,
9798
val lockProvider: KrescentLockProvider,
9899
) : WriteModelBase("book_write", 1, bookstoreEventCatalog, configure = {

0 commit comments

Comments
 (0)