I was just reading this, and found this. And I realized it would be a good idea to replace the string-only enums by this, to avoid the generic Enum class.
We also get some benefits, such as:
auto(), to reduce boilerplate
- implicit
string conversion, to avoid appending .value suffix every-time
I opened this issue to remind myself to open a PR for this. So I want to be "assigned" (in the GitHub context) to this issue.
I'll implement this later. I'm busy right now