shurcooL / graphql

Package graphql provides a GraphQL client implementation.
MIT License
704 stars 280 forks source link

Properly split words with numbers #121

Open bderrly opened 5 months ago

bderrly commented 5 months ago

If a field name has numbers then some new rules need to be added. I ran into a case where FdrS3FileSizeMax split the words into {"Fdr", "S3File", "Size", "Max"} which results in a subsequent call to ToMixedCaps() to return FdrS3fileSizeMax (notice the small 'f' after 'S3').