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: produce (or deconstruct) #20

Open
febeling opened this issue Oct 31, 2017 · 2 comments
Open

Feature request: produce (or deconstruct) #20

febeling opened this issue Oct 31, 2017 · 2 comments

Comments

@febeling
Copy link

It would be a useful extension to be able to produce maps with keys cased in one specific flavour.

One example use would be to produce Javascript-style camelCase API responses while maintaining structs and maps internally in snake_case.

@febeling
Copy link
Author

If this sounds like a reasonable extension to the maintainers I'd prepare a PR.

@gamache
Copy link
Contributor

gamache commented Nov 8, 2017

Hm, I could see this being pretty useful. I'd probably include it as an extra module, rather than having it brought in by the __using__ macro by default, but this sounds like a good feature.

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

2 participants