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
And then have a call to MyTypeString("AlsoA") -> A and MyTypeString("BInSpanish") -> B ?
My concrete use case: I'm adding support to various naming schemes for data types (dtype) for machine learning frameworks, see this file, and the community doesn't seem to agree on one naming convention for these things. I was hopping to leverage enumer to handle the conversion from string also for the aliases.
ps.: Btw, thanks for writing and maintaining enumer!
The text was updated successfully, but these errors were encountered:
Would it make sense to add support for enum aliases ?
Example:
And then have a call to
MyTypeString("AlsoA") -> A
andMyTypeString("BInSpanish") -> B
?My concrete use case: I'm adding support to various naming schemes for data types (
dtype
) for machine learning frameworks, see this file, and the community doesn't seem to agree on one naming convention for these things. I was hopping to leverage enumer to handle the conversion from string also for the aliases.ps.: Btw, thanks for writing and maintaining enumer!
The text was updated successfully, but these errors were encountered: