AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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