You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we only have def fromString and a def $unknown. I think it'd be useful to have a total, Option-less function like def fromStringOrUnknown(s: String): TheEnum generated in all open enums' companion objects.
The text was updated successfully, but these errors were encountered:
Currently, we only have
def fromString
and adef $unknown
. I think it'd be useful to have a total, Option-less function likedef fromStringOrUnknown(s: String): TheEnum
generated in all open enums' companion objects.The text was updated successfully, but these errors were encountered: