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

Allow field name normalizers/denormalizers to be specified on a per-endpoint basis #232

Open
NatPri opened this issue Oct 2, 2019 · 0 comments

Comments

@NatPri
Copy link

NatPri commented Oct 2, 2019

Pretty self-explanatory, but this would be a feature to allow clients to specify field name normalization/denormalizations on a per-endpoint basis. This would be useful in cases where (for instance) one endpoint picks PascalCase for their field names and another picks camelCase, and you want to standardize on one or the other in your code.

This could be worked-around using a responseTransformer and per-request denormalizers, but that feels pretty heavy for this specific type of transformation.

I have code for this and can submit a PR for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants