In the same node instance I have:
- 1 view builders (vb)
- 2 mongo repositories: repomongoCustomer1, repomongoCustomer2
- 2 denormalizers:
- denomCustomer1 (that writes to repomongoCustomer1),
- denomCustomer2 -> (that writes to repomongoCustomer2),
- 1 eventstore. Each event in the eventstore contains a property customer that describes what denormalizer is in charge of the denormalization.
When I instantiate, in order, denomCustomer1 and denomCustomer2. Happens that the event is only written to the last repository (repomongoCustomer2) .
Is it possible to have multiple repository associated to multiple denormalizers, all created from the same viewBuilder?
Thanks