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

[Feature Request] Disable snake_case #142

Closed
coleturner opened this issue Jul 10, 2017 · 8 comments
Closed

[Feature Request] Disable snake_case #142

coleturner opened this issue Jul 10, 2017 · 8 comments

Comments

@coleturner
Copy link
Contributor

I'm working with Contentful -> Ruby -> JavaScript and I've designed my schema according to how the editor encourages which is camelCase.

The v2 Ruby client automatically rewrites all the keys as snake_case. I understand why this is done for the sake of Ruby convention but when working with an API/schema - one would expect the format to be consistent across languages.

Can we please have an option that disables snakify and preserves the original API in its pure casing?

@dlitvakb
Copy link
Contributor

Sounds like something that could be implemented.

I'm going on vacation for the next few weeks, but I'll add it to our backlog for when I'm back.

Cheers

@coleturner
Copy link
Contributor Author

Thank you 👍

@monkseal
Copy link

monkseal commented Oct 6, 2017

👍 would love to have this option.

@johnnyiller
Copy link

👍 Agreed

@dlitvakb
Copy link
Contributor

dlitvakb commented Oct 6, 2017

Hey there,

I've just finished a bunch of feature additions for the CMA SDK which will be released on monday.

I'll talk with my PM about prioritizing this feature.

You should be expecting it within this month.

Cheers

@monkseal
Copy link

monkseal commented Oct 6, 2017

@dlitvakb Thanks! 🎉 🍇 🏄

@dlitvakb
Copy link
Contributor

This has been merged to master.

That said, this won't be released for a few weeks until I add a few other improvements.

Cheers

@dlitvakb
Copy link
Contributor

This has been released in version 2.2.0.

Cheers

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

No branches or pull requests

4 participants