Marius-Sorin Stratulat
Marius-Sorin Stratulat
As expected, thanks for your reply. I`ll try to dive more into the documentation to see the bigger picture.
Can i inject in a saga the viewmodel module? I need to query the data on a specific event to emit specific commands. I`m doing it wrong? The main idea...
Thanks a lot.
One question, in this example, the aggregateId is payload.id, i tried to change it to aggregate.id, in all the files, but the edit and the delete failed, i`m missing something?...
yes, here the aggregate id is: aggregateId: 'payload.id'. I read some of your issues on github and you recommand to always send the aggregate id
https://github.com/smariussorin/EventSourcedMicroservices my repo
Or it is ok to send the payload.id as aggregateId? I`m a C# developer and this is my first node project and i`m trying to develop for school a microservice...
Ok, and if i want to add the aggregateName and context, i need to add them in all the places. Do i need to specifi the context and aggregate name...
Thanks for your answers and time.
One minor question about domain: if i need to add created_at field in create events, where is the best way to init this date? i don`t want to send the...