Skip to content

Opposite of getEventsSince #171

Description

@kojuka

Love this library. Thank you!

I have a question about querying for the state of an aggregate. I need to get the the state of an event stream from its start to a certain timestamp. Is there a way to do this. It would work the same as getEventsSince but instead be something like getEventsUntil.

I see that you can add a limit to getEvents but that that doesn't quite do it as I'd like to be able to pass in a timestamp instead of a number of events to return.

Any suggestions?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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