Skip to content

Use builder patter when instantiating a StateFoldEnvironment #6

@GCdePaula

Description

@GCdePaula

When instantiating a StateFoldEnvironment we should use a builder pattern.

Besides the inner_middleware and user_data, all have sensible defaults (and even user data could enforce Default trait implementation). This way we instantiate the builder with those to arguments, and we can set all the others using the builder pattern.

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