bug: Using #[ts(rename_all = "...")]
snake_case
, SCREAMING_SNAKE_CASE
and kebab-case
is not compatible with serde
#297
Labels
bug
Something isn't working
Describe the bug
A few months ago, issue #165 reported inconsistencies in the implementation of
inflector
'scamelCase
in comparison withserde
's. It turns out itssnake_case
implementation is also not consistent, which affectssnake_case
,SCREAMING_SNAKE_CASE
(a.k.a.snake_case.to_ascii_uppercase()
) andkebab-case
(a.k.a.snake_case.replace('_', "-")
). Also, we're missingSCREAMING-KEBAB-CASE
To Reproduce
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: