Skip to content

Commit 60f120a

Browse files
Merge pull request #2432 from micalevisk/patch-2
docs(cqrs): mention that `@Saga()` came from `@nestjs/sqrs`
2 parents d433666 + 54b4382 commit 60f120a

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
@@ -261,7 +261,7 @@ export class HeroesGameSagas {
261261
}
262262
```
263263

264-
> info **Hint** The `ofType` operator is exported from the `@nestjs/cqrs` package.
264+
> info **Hint** The `ofType` operator and the `@Saga()` decorator are exported from the `@nestjs/cqrs` package.
265265
266266
We declared a rule - when any hero kills the dragon, the ancient item should be dropped. With this in place, `DropAncientItemCommand` will be dispatched and processed by the appropriate handler.
267267

0 commit comments

Comments
 (0)