Skip to content

write to different repositories for the same definition of the viewbuilder #71

@daschy

Description

@daschy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions