Arshia001 / FSharp.GrpcCodeGenerator

A protoc plugin to enable generation of F# code + supporting libraries
MIT License
81 stars 9 forks source link

Generated enum type case names are not capitalized like originals #32

Open LyndonGingerich opened 1 year ago

LyndonGingerich commented 1 year ago

It seems that

enum MyEnum {
  MySingleEnumCase = 0;
}

would generate

type MyEnum =
| [<global.Google.Protobuf.Reflection.OriginalName("MySingleEnumCase")>] Mysingleenumcase = 0

with only the first letter capitalized.

I am glad to offer whatever assistance I can in finding and repairing this apparent bug. For now, I'll wait for reply since this repository does not seem to see much activity.