Skip to content

Make use of static create methods #488

Description

@WilliamRoebuck

What

In alive monitor, but also elsewhere, there are init(), construct(), and other similar method names to handle situations where construction can fail, but we want to handle the error. A cleaner pattern could be to use a static Create() method that returns a newly created object or error on failure

Acceptance Criteria (DoD)

  • construct() and init() methods are removed or made private

How

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupTasks to cleanup the code

    Type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions