Skip to content

Commit f88c923

Browse files
Merge pull request #3301 from EnThib/docs/cqrs-super-constructor
docs: missing super() call in constructor
2 parents a4d3068 + 413acfd commit f88c923

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/recipes/cqrs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ export class KillDragonCommand extends Command<{
8989
constructor(
9090
public readonly heroId: string,
9191
public readonly dragonId: string,
92-
) {}
92+
) {
93+
super();
94+
}
9395
}
9496
@@switch
9597
export class KillDragonCommand extends Command {

0 commit comments

Comments
 (0)