Use enumerations instead of strings #928
ThatXliner
started this conversation in
Ideas
Replies: 2 comments 6 replies
-
I think it's a nice idea! |
Beta Was this translation helpful? Give feedback.
5 replies
-
I don't like the idea:
However, if we really want enums, we should at least use str as a mixin and keep the old values. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Instead of using strings to specify an option, we could use enums.
Literal
).Since this WILL be a breaking change, it'll definitely be part of API v1
Beta Was this translation helpful? Give feedback.
All reactions