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

Make ProcessManagers maintain their state #79

Open
andreyleskov opened this issue Sep 15, 2018 · 0 comments
Open

Make ProcessManagers maintain their state #79

andreyleskov opened this issue Sep 15, 2018 · 0 comments

Comments

@andreyleskov
Copy link
Collaborator

Now ProcessManagers will ask their State actor to load the state for them.
Initially, it looked like a good idea. But now I can't see any benefits except simpler code base.
This decision creates a big limitation for process manager state - it should be serializable.
Let PM inherit from aggregate actor to load the state itself and provide full flexibility for state aggregate, including DI and domain services usage.

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