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

public AggregatorFor method #3598

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ruben-rasmussen
Copy link

Made AggregatorFor public in order to be able to fetch generated live aggregations of projections from codegen.

I made this in relation to a person project of mine where I would like to fetch data for multiple streams live at the same time.

The flow I wish to achieve is for live aggregation of streams on top of snapshots with multiple streams.
This is to enable being able perform a predicate on the snapshot with async lifecycle.
Afterwards fetching the rest of these streams live to ensure 100% up to date view.
Then applying the predicate once again to ensure no false results in the query.

This ofcause has a flaw of not fetching all streams in the inital query, thereby not get the entire result. But that is acceptable in the scenario I have.

…ionality for custom construction of aggregates.
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

Successfully merging this pull request may close these issues.

1 participant