From be09722d8446b23fd1776b69203c033ccaa33074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20Fugulin?= Date: Tue, 28 Jan 2020 03:26:59 -0500 Subject: [PATCH] Fix typos in the communication documentation (#21774) --- contribute/architecture/communication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contribute/architecture/communication.md b/contribute/architecture/communication.md index 72368bf5659..572375785fc 100644 --- a/contribute/architecture/communication.md +++ b/contribute/architecture/communication.md @@ -72,7 +72,7 @@ if err := s.bus.Dispatch(cmd); err != nil { ### Handle commands -Let others parts of the application dispatch commands to a service, by registering a _command handler_: +Let other parts of the application dispatch commands to a service, by registering a _command handler_: To handle a command, register a command handler in the `Init` function. @@ -91,7 +91,7 @@ func (s *MyService) SendStickers(cmd *models.SendStickersCommand) error { ## Queries -A command handler can optionally populate the command sent it. This pattern is commonly used to implement _queries_. +A command handler can optionally populate the command sent to it. This pattern is commonly used to implement _queries_. ### Making a query