Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Replay events when AggregateRoot::$storedEventModel used #162

Closed
mfullbrook opened this issue May 7, 2019 · 1 comment
Closed

Replay events when AggregateRoot::$storedEventModel used #162

mfullbrook opened this issue May 7, 2019 · 1 comment

Comments

@mfullbrook
Copy link
Contributor

I've noticed that the ReplayCommand only uses the event-projector.stored_event_model configuration value.

The addition of $storedEventModel on AggregateRoot allows us to use different event storage models per AggregateRoot 👍 But currently we are not be able to replay the events from a non-default event store.

Happy to work on a PR. To me the most sensible modification would be an optional --store= option. What do you think?

@freekmurze
Copy link
Member

That option sounds good to me, I’d welcome a PR

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

No branches or pull requests

2 participants