Skip to content

Commit 54b4382

Browse files
authored
docs(cqrs): mention that @Saga() came from @nestjs/sqrs
1 parent 2bcdb0a commit 54b4382

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
@@ -255,7 +255,7 @@ export class HeroesGameSagas {
255255
}
256256
```
257257

258-
> info **Hint** The `ofType` operator is exported from the `@nestjs/cqrs` package.
258+
> info **Hint** The `ofType` operator and the `@Saga()` decorator are exported from the `@nestjs/cqrs` package.
259259
260260
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.
261261

0 commit comments

Comments
 (0)