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

Cannot load aggregate from history #28

Open
clarkstachio opened this issue Jan 10, 2020 · 0 comments
Open

Cannot load aggregate from history #28

clarkstachio opened this issue Jan 10, 2020 · 0 comments

Comments

@clarkstachio
Copy link

How would I reload an aggregate from the eventstore event history? I would expect to have a service/method available to me from within the command handler in order to reload the aggregate. Something like

// in widget command handler
const widget = this.eventStore.reloadFromHistory('widget-12312312');

widget.doSomething(command.something);
widget.commit();

Is this use case implemented?

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