You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
outletGSId becomes outletGsId through camel case function, when in theory I would expect it to do nothing with the value 🤔 Am I missing something here?
This package doesn’t do any detection of what the current “case” is, it just does the conversion following built in rules. Arguably this rule is wrong, and you can override how things are split, but it was design to handle conversion of things like XMLHttpRequest to other cases.
For now it’s not something I plan to fix this since it’s the first time it’s come up, but if I ever do a new major version I’ll consider removing this as the default split behavior.
It sounds like maybe you just want to detect “is camel case” before converting? Those utilities could be added without a breaking change.
outletGSId
becomesoutletGsId
through camel case function, when in theory I would expect it to do nothing with the value 🤔 Am I missing something here?Here are the test-case I am running:
Related to #2
Raised in asyncapi/modelina#2080
The text was updated successfully, but these errors were encountered: