Skip to content

Explore use of enums for entity values #803

@slifty

Description

@slifty

There are a lot of places where we are using repeated strings / numbers for certain values (e.g. a setting being enabled is 1 rather than SettingFoo.Enabled.

We could benefit from finding a good pattern in the code base to trivially create enums to capture these values. Eventually this might be provided in the SDK and we could migrate to that, but no need to wait for an SDK to make progress.

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