SyliusVueStorefront2Plugin icon indicating copy to clipboard operation
SyliusVueStorefront2Plugin copied to clipboard

Consider better CQS in mutations

Open Codeweld opened this issue 4 years ago • 0 comments

When we change the system state, we shouldn't return anything. With the current implementation and usage of message handlers for GraphQL mutations, we need to return this object. We should consider using mutation resolvers, to not break CQS

Originally posted by @Codeweld in https://github.com/BitBagCommerce/SyliusGraphQLPlugin/pull/14#discussion_r727623100

Codeweld avatar Oct 13 '21 13:10 Codeweld