Open brendanmckenzie opened 3 years ago
hi! I actually do need to revisit the consecutive caps. What do you believe the correct result is in these cases?
Let me know what you think makes sense. The attempt was to not have consecutive caps and attempt to sort out the groupings.
I imagine maybe this makes sense?
GraphQL WebACL hello world
=> graph_ql_web_acl_hello_world
it's a bit tricky, because I wanted to try and make sure things are isomorphic when going between underscore, camelcase, supercase, etc, etc. For example, GraphqlProject
=> graphql_project
=> GraphqlProject
. I always found when combining caps into names, like GraphQL
it adds complexity to object names. Happy to do whatever the best practice is.
here is an example in JS for reference https://codesandbox.io/s/inspiring-sun-rn6jm?file=/src/App.js https://gist.github.com/pyramation/1e3e29091284a52bf0b10a966939e04b
Ideally, it would be graphql_webacl_hello_world
but I understand how that adds more complexity.
I'm experiencing some odd behaviour when changing case on terms such as GraphQL where uppercase characters make part of a word. See below for examples.