Skip to content

Explore use of enums for entity values #803

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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