Skip to content

Support for querying by a set of tags #651

@PerWiklander

Description

@PerWiklander

Short description

It would be nice to be able to query on more than one tag at a time.

Let's say I'm creating a projection that is interested in events tagged with "apple", "banana" and "orange".
I want to see them together in the order they were persisted.

Details

The proposed API is

readJournal.eventsByTags(
  Set(
    "apple",
    "banana",
    "orange",
  ),
  0L
)

and

readJournal.currentEventsByTags(
  Set(
    "apple",
    "banana",
    "orange",
  ),
  0L
)

Alternatively, please inform me on how I am totally wrong and how a projection would never need to handle events from multiple sources :-)

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