Skip to content

Cannot load aggregate from history #28

Description

@clarkstachio

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?

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