Closed zrma closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
33ec559
) 75.89% compared to head (2aa55c8
) 76.51%. Report is 15 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
hi @zrma , thanks a lot for the contribution! I will try to take a look at it over the xmas/nye holidays and hopefully merge it! 🙏
Hi, thanks again for the contribution and for the patience in waiting for the review! 🙏 The code looks good to me: if you could just push those little naming fixes I added to the PR I can then merge it! 🥂 Unfortunately I have no knowledge of non-case-sensitive languages, but if any user who does will find any bug we could fix it when the need arises. ✌️
I've made the suggested naming changes as per your review. Thank you for the valuable feedback and guidance! 😻 The updated commit has been pushed to the PR.
This PR includes modifications to the
splitIdentifierByCaseAndSeparators
function, aiming to extend its compatibility to non-case-sensitive languages such as Korean, Chinese, and Japanese, among others.Key Points:
However, I faced difficulties in augmenting the test suite to include these new language scenarios. My limited experience with the current test structure hindered my ability to confidently implement new test cases for these languages.
In an attempt to modify the tests, I utilized the go-jsonschema binary, executing the following command:
This process resulted in struct names being generated as CapitalizationJson instead of Capitalization. Consequently, I manually adjusted the names.
I am uncertain about the correctness of these steps and would greatly appreciate any advice or guidance. Your feedback or suggestions for improving this feature expansion and the addition of test cases would be invaluable.
Thank you.