Simplify enum classes #305
Labels
code quality
Everything related to code quality
good first issue
Good for newcomers, low-hanging fruit
hacktoberfest
As outlined here, enum classes can be simplified. Instead of writing code like this:
we can write code like so:
Doing so we let the serializer do the translation work for us and we can simplify the constructor.
All the enum classes in the project should be reviewed and simplified if it makes sense.
The text was updated successfully, but these errors were encountered: