Max Ekman
Max Ekman
You can propose an example if you want to learn about it. Maybe a e-commerce checkout could be a good example: - One simple domain called `Order`, with commands and...
In that case the saga has to keep track of incoming events until it has collected all affected events. Then it can continue processing. A saga is meant to keep...
I would first implement it in an external library, it should work equally well as being in the mainline. See the main readme for some examples. When you are happy...
That might me a good idea actually, thanks @fixl!
I have it planned but not yet noted as an issue, thanks for bringing it up! It will definitely be crucial for the toolkit!
If you want to do it manually for now you can mimmic how the repository does it: https://github.com/looplab/eventhorizon/blob/master/repository.go#L68
I'll keep this open for the real implementation.
Yes, if you don't use projections you have to replay all events. I'm sure you have looked at the examples for two ways to do projections, if not take a...
Really cool, I’ll check it out in detail as soon as I can!
@maxruby I'll definitely look into it as I'm now back on working a bit more on EH for a client. That client have been using it in production since it's...