Currently whitespacing and invalid C# variable characters are removed from labels to generate enum options from option set values.
This leads to some really weird casing and hard to read names:
I propose that these two changes:
When removing whitespace, the next valid C# character is capitalized:
So a label of "A healthcare provider advised me to stop (baby not gaining weight, medication, medical issue, etc)" would become AHealthcareProviderAdvisedMeToStopBabyNotGainingWeightMedicationMedicalIssueEtc. Currently generating Ahealthcareprovideradvisedmetostop_babynotgainingweightmedicationmedicalissueetc
If a word in a label are all caps, the that they are camel cased:
So a label of "XML / JSON / CSV / ETC" would become XmlJsonCsvEtc Currently Generating XMLJSONCSVETC
Currently whitespacing and invalid C# variable characters are removed from labels to generate enum options from option set values.
This leads to some really weird casing and hard to read names:
I propose that these two changes: