graphql-platform icon indicating copy to clipboard operation
graphql-platform copied to clipboard

Enums containing a capital letter after an underscore will result with two underscores from the schema

Open pilucdes opened this issue 5 years ago • 0 comments

Describe the bug Enums containing a capital letter after an underscore will result with two underscores from the schema

To Reproduce Create an enums like so

public enum RequestStatusType
{
    Creating_Instance = 1
}

The schema will output it as CREATING__INSTANCE with two underscore image

Expected behavior The schema should return the enum as CREATING_INSTANCE

Additional information

  • OS: Windows 10
  • Version: 11.2.0

pilucdes avatar Jun 03 '21 19:06 pilucdes