-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
write to different repositories for the same definition of the viewbuilder #71
Comments
Just an update. I tried to duplicate the view builders, so now I have vbCustomer1 and vbCustomer2 and works as expected. It save the data to each repository correctly. |
So it’s fine for you? |
No really, in this way everytime I need to add a customer I have to duplicate the files, it can only be done by taking the server down. Is there another solution, without physically duplicating the files? |
Not right now... |
You only need a new collection on-the-fly right? |
I don't think that collection on the fly is what I need. I need the entire database everytime. The use case is every time I do, on the same node instance:
It denormzalizes to repomongoCustomer1 or repomongoCustomer2 based on the info based on the event. |
In the same node instance I have:
- denomCustomer1 (that writes to repomongoCustomer1),
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
The text was updated successfully, but these errors were encountered: