djangorestframework-camel-case icon indicating copy to clipboard operation
djangorestframework-camel-case copied to clipboard

Add option to preserve the underscore keys when converting to camelCase

Open chellman opened this issue 9 months ago • 0 comments

I can imagine situations where one might currently be consuming the underscore versions of keys, and want to introduce camelCase as the better/canonical way. Preserving the old keys while keeping the new can be a nice compatibility bridge to leave up for a while.

This PR adds the underscore version alongside the camelCase version via an option. There are associated updates to the README, and a passing test.

chellman avatar May 13 '24 21:05 chellman