Skip to content

Commit 27bc0a9

Browse files
authored
fix(typo): cqrs docs
`@EventsHandler` and not `@EventHandler`
1 parent 36b7654 commit 27bc0a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/recipes/cqrs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ Using request-scoped providers alongside CQRS can be complex because the `Comman
494494
To make a handler request-scoped, you can either:
495495

496496
1. Depend on a request-scoped provider.
497-
2. Explicitly set its scope to `REQUEST` using the `@CommandHandler`, `@QueryHandler`, or `@EventHandler` decorator, as shown:
497+
2. Explicitly set its scope to `REQUEST` using the `@CommandHandler`, `@QueryHandler`, or `@EventsHandler` decorator, as shown:
498498

499499
```typescript
500500
@CommandHandler(KillDragonCommand, {

0 commit comments

Comments
 (0)