Skip to content

Opposite of getEventsSince #171

Open
@kojuka

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?

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