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
public class Testing
{
public int Success { get; set; }
public int GU_ID { get; set; }
public int GUID { get; set; }
public int G_UID { get; set; }
public int _GUID { get; set; }
public int GUID_ { get; set; }
}
public enum TestEnum
{
GU_ID,
_GUID,
GUID,
GUID_
}
Oops, after research, I saw that it is related to camelCase option. But there is no option to not remove underscore in camelCase. But if I don't use camelCase, the generated types will start with upper case.
I may close this issue, but I still want a way to make attributes start with lower case and preserve the underscore.
Created this pull request: #67 which will solve this problem. If you have the same problem, you can add a config like this after using this pull request:
is converted to this:
As you see, the underscore is not correctly handled in class attributes, it is removed, but it is correctly handled in enums.
my config is like this:
I'd love to try to solve this problem, if you would merge it to the project.
The text was updated successfully, but these errors were encountered: