Skip to content
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

Opposite of getEventsSince #171

Open
kojuka opened this issue Dec 17, 2020 · 0 comments
Open

Opposite of getEventsSince #171

kojuka opened this issue Dec 17, 2020 · 0 comments

Comments

@kojuka
Copy link

kojuka commented Dec 17, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant