Node-cqrs-domain is a node.js module based on nodeEventStore that. It can be very useful as domain component if you work with (d)ddd, cqrs, eventdenormalizer, host, etc.
Setting a revision on events from aggregates with disabled persistence is unneeded and introduces unwanted behaviour when those pass trough revision guard stores in other services.
By omitting the revision property on those events ( as they have none ) the revision guard store is not handling those and they work as intended.
Setting a revision on events from aggregates with disabled persistence is unneeded and introduces unwanted behaviour when those pass trough revision guard stores in other services.
By omitting the revision property on those events ( as they have none ) the revision guard store is not handling those and they work as intended.