Skip to content

Option to disable automatic snake_case transformation #60

@markalexander

Description

@markalexander

I know that this an attempt to be helpful but it's usually not, in my experience. The SDK uses key_name and the webhook uses keyName, so how are we supposed to abstract the two without a horrific mess of:

  • storing two key names for each field, or
  • on-the-fly transformation back to camel case on the already-transformed key names?

The other Contentful SDKs seem to have added an option for disabling this. I can't seem to find it in the Python one, so is it hidden somewhere? I guess raw_mode might work? But that's presumably going to disable all the other useful processing too.

Personally, I'm storing objects in a relational DB + data warehouse too so I've got at least 3 different keys to deal with. :(

Please add this if not already available. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions