Skip to content

Commit d5d2f6d

Browse files
committed
fix: custom naming strategy invariant lowercase
1 parent feffb50 commit d5d2f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/Utils/CustomNamingStrategy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class CustomNamingStrategy : NamingStrategy
77
{
88
protected override string ResolvePropertyName(string name)
99
{
10-
var result = Regex.Replace(name, "([A-Z])", m => (m.Index > 0 ? "_" : "") + m.Value[0].ToString().ToLower());
10+
var result = Regex.Replace(name, "([A-Z])", m => (m.Index > 0 ? "_" : "") + m.Value[0].ToString().ToLowerInvariant());
1111
return result;
1212
}
1313
}

0 commit comments

Comments
 (0)