Closed 42atomys closed 4 months ago
In sprig, camelCase return a PascalCase and don't respect the separation logic between both functions.
camelCase
PascalCase
toPascalCase
toCamelCase
This edit are related to https://github.com/Masterminds/sprig/issues/328
Backport ticket from @ghostsquad
All modified and coverable lines are covered by tests :white_check_mark:
100.0% <100.0%> (ø)
Description
In sprig,
camelCase
return aPascalCase
and don't respect the separation logic between both functions.Changes
toPascalCase
function to transform a string to aPascalCase
toCamelCase
function to transform a string to acamelCase
Fixes https://github.com/Masterminds/sprig/issues/328
Checklist
Additional Information
This edit are related to https://github.com/Masterminds/sprig/issues/328
Backport ticket from @ghostsquad