thenativeweb / node-cqrs-eventdenormalizer

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.
http://cqrs.js.org/pages/eventdenormalizer.html
MIT License
38 stars 27 forks source link

Cannot define custom event structure #19

Closed TomKaltz closed 9 years ago

TomKaltz commented 9 years ago

18

I submitted a pull request to show failure in defining custom event structure. The first failed assertion line 294 is what demonstrates my issue.

adrai commented 9 years ago

Really? format 2 tests seams to work correctly (different structure)

adrai commented 9 years ago

Perhaps it's just a order problem... Perhaps I'm going to order the viewBuilders and eventExtenders in the next release

TomKaltz commented 9 years ago

I'm just really having a hard time getting this event structure to work between domain and denormalizer. I think I've narrowed it down to denormalizer. Can you point me in correct direction to make this event structure work?

TomKaltz commented 9 years ago

I am not able to get this to work on my end. It was not working before or I made a typo somewhere.

adrai commented 9 years ago

https://github.com/adrai/node-cqrs-eventdenormalizer/blob/master/test/integration/integrationTest.js#L1287