December 2022
Intermediate to advanced
189 pages
5h
English
The command generator is the bridge between the outwardly facing request/response interactions of GraphQL mutations and the message passing world inside the application. In this chapter, I discuss how GraphQL mutations interact with the command generator and the balance between specificity and generality when designing commands and mutations. I will also go over how to construct commands that allow the command processor’s mutator function to be a pure function, how the command generator can fail and how to ...