From 27bc0a9952eb02ba68678f0ef85e880c57087dea Mon Sep 17 00:00:00 2001 From: Vincent G <10739306+VinceOPS@users.noreply.github.com> Date: Tue, 8 Apr 2025 14:32:16 +0200 Subject: [PATCH] fix(typo): cqrs docs `@EventsHandler` and not `@EventHandler` --- content/recipes/cqrs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/recipes/cqrs.md b/content/recipes/cqrs.md index 0b3df8079a..0a61d24331 100644 --- a/content/recipes/cqrs.md +++ b/content/recipes/cqrs.md @@ -494,7 +494,7 @@ Using request-scoped providers alongside CQRS can be complex because the `Comman To make a handler request-scoped, you can either: 1. Depend on a request-scoped provider. -2. Explicitly set its scope to `REQUEST` using the `@CommandHandler`, `@QueryHandler`, or `@EventHandler` decorator, as shown: +2. Explicitly set its scope to `REQUEST` using the `@CommandHandler`, `@QueryHandler`, or `@EventsHandler` decorator, as shown: ```typescript @CommandHandler(KillDragonCommand, {