You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which resulted in a bug in one of our applications.
Work around for now is to pass a URLSearchParams object (or JSON.stringify(value) if possible for you), but can this perhaps be changed to use the default Config.serializeData function or a different config?
bundle update js_from_routes
.Description 📖
When doing a request with query parameters, the keys are always case converted to snake_case.
I.e. unless a URLSearchParams object is passed.
js_from_routes/packages/core/src/urls.ts
Lines 62 to 66 in 7e708eb
Which resulted in a bug in one of our applications.
Work around for now is to pass a URLSearchParams object (or
JSON.stringify(value)
if possible for you), but can this perhaps be changed to use the defaultConfig.serializeData
function or a different config?Reproduction/Logs 🐞📜
For example when doing
Will make a request as follows
Happy to contribute if agreed upon a solution, thanks!
The text was updated successfully, but these errors were encountered: