Elixir Wizards cover image

Marcelo Dominguez on Command and Query Responsibility Segregation

Elixir Wizards

CHAPTER

Commanded and CQRS - Side Effects

Commanded has like an event store and you can use Postgres as the adapter. By side effects, I mean what you do with the events that get created. With CQRS, are you also validating data before it comes in or do you just kind of like take the data, send an event and then let the system respond with errors? Yeah, it's a good question. We typically will use change sets to validate data before we do anything on the back end to persist that data. The people using the app world need to place a bit on the stop. And that makes me think about that reality more like a way of keeping the actions that happened to the system instead of

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner