Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support keeping the original serde field names #72

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

eliad-wiz
Copy link
Contributor

SCREAMING_SNAKE_CASE might not be the expected format, so allow keeping the original serde field names

What did you implement:

a new keep_names() functionthat can be used in order to keep the original serde field names (api is similar to the prefixed() function)

Closes: #61

How did you verify your change:

a new unit-test was added

What (if anything) would need to be called out in the CHANGELOG for the next release:

SCREAMING_SNAKE_CASE might not be the expected format,
so allow keeping the original serde field names

Signed-off-by: Eliad Peller <eliad.peller@wiz.io>
@softprops softprops merged commit 8712d52 into softprops:master Jun 7, 2024
@softprops softprops mentioned this pull request Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't handle capitalised rename
2 participants