Fix typos in the communication documentation (#21774)

This commit is contained in:
Émile Fugulin 2020-01-28 03:26:59 -05:00 committed by Arve Knudsen
parent 044bea0935
commit be09722d84

View File

@ -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