First-time poster - just getting immersed in Event Sourcing and feeling like the scales have fallen from my eyes. A future with no ORM…
I’ve not attempted DDD/CQRS/ES before so I apologise if this is a cardinal crime…
As well as supporting proper domain events in my store and projections, it might sometimes be useful to offer a more crud-like patching model. For instance; if the business logic, validation, etc. was applied at a higher level leaving only the need to persist the outcome in a generalised way.
I am thinking about events being instances of the JSON Patch format http://jsonpatch.com/
And for the projection to implement the corresponding application code, e.g. http://jsonpatchjs.com/
But is it possible to take advantage of such libraries in projection code?
At the moment, I’m more interested in the technical ‘if and how’, rather than the DDD ‘could or should’. But I’ll be happy to receive any opinions.
Many thanks for any advice you can offer. I expect I will have many more questions to follow and I look forward to becoming an active member of this group.