-
Notifications
You must be signed in to change notification settings - Fork 27
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
Service fetch automatically changes snake_case to camelCase #5089
Labels
Comments
Refinement: DRF camelcase might be the problem, maybe replace or work around (with a mechanism that is already there)? |
robinmolen
added a commit
that referenced
this issue
Feb 10, 2025
When using an existing service fetch config, that uses snake_case for the `query_params` or `body`, the `query_params` and `body` are turned to camelCase
robinmolen
added a commit
that referenced
this issue
Feb 10, 2025
Make sure that `body` and `query_params` on service fetch configuration keep their original case type
10 tasks
10 tasks
robinmolen
added a commit
that referenced
this issue
Feb 18, 2025
When using an existing service fetch config, that uses snake_case for the `query_params` or `body`, the `query_params` and `body` are turned to camelCase
robinmolen
added a commit
that referenced
this issue
Feb 18, 2025
Make sure that `body` and `query_params` on service fetch configuration keep their original case type
robinmolen
added a commit
that referenced
this issue
Feb 18, 2025
When using an existing service fetch config, that uses snake_case for the `query_params` or `body`, the `query_params` and `body` are turned to camelCase
robinmolen
added a commit
that referenced
this issue
Feb 18, 2025
Make sure that `body` and `query_params` on service fetch configuration keep their original case type
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Product versie / Product version
3.0.2
Customer reference
DH
Omschrijf het probleem / Describe the bug
Example HTTP query string with a "data_attrs" key:
turns into "dataAttrs":
Which breaks the service fetch, until the form builder manually changes the camelCase back to snake_case.
This causes double actions to be performed after each migration of a form: first set the right service, then change the key's to whatever they need to be.
(It is also believed these changes get reverted in some scenario's and break the service fetch, because it's using "dataAttrs" again)
Verwacht gedrag / Expected behavior
The config that exists in the service fetch should not "change" under any circumstance.
Screen resolution
None
Device
None
OS
None
Browser
No response
The text was updated successfully, but these errors were encountered: