Skip to content

Change Plane state Enum into a str enum #30

Description

@kevinlinxc

As far as I can tell, we use a number enum and then translate it into a string using a dictionary everywhere. Instead, let's do this:

https://stackoverflow.com/a/58608362/11741232
image

This will require some refactors elsewhere in the code but I think it's a better pattern than assigning arbitrary numbers.

Activity

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

Metadata

Metadata

Assignees

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