Node-cqrs-eventdenormalizer is a node.js module that implements the cqrs pattern. It can be very useful as eventdenormalizer component if you work with (d)ddd, cqrs, domain, host, etc.
The issue here is if there is error happened in the pre event extender, the callback will happen with param name err. However the code in the denormalizer dispatch func call it with [errs] which will cause ReferenceError.
DESCRIPTION
The issue here is if there is error happened in the pre event extender, the callback will happen with param name err. However the code in the denormalizer dispatch func call it with [errs] which will cause ReferenceError.
STEPS
Define an pre event extender as
Call the denormalizer dispatch
EXPECTED
Handle the error gracefully
OBSERVATIONS
"ReferenceError: errs is not defined.