Skip to content

Make ProcessManagers maintain their state #79

@andreyleskov

Description

@andreyleskov

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.

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