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
I'm using the Dehumanize() method to generate enum member identifier names. I came across an example where the resulting string contains a forward slash /, which is not a valid identifier name. Simplified example:
I'm using the
Dehumanize()
method to generate enum member identifier names. I came across an example where the resulting string contains a forward slash/
, which is not a valid identifier name. Simplified example:It seems the
-
is handled in some special way causing this behaviour.Workaround: Invoke Dehumanize twice:
"Hello/The-World".Dehumanize().Dehumanize();
Version: Humanizer.Core 2.14.1
The text was updated successfully, but these errors were encountered: