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
In a complex application we faced an issue when we tried to pass nested query parameters.
The library qs handles this very well.
It would be nice to be able to replace that logic on the hono/client and on the server side too.
For example: { page: '1', pageSize: '25', 'status[0]': 'DRAFT' } it is a parsed result from the server side from this query: page=1&pageSize=25&status%5B0%5D=DRAFT but qs is able to parse this correctly back to an array instead of this string key: status[0].
Uh oh!
There was an error while loading. Please reload this page.
What is the feature you are proposing?
In a complex application we faced an issue when we tried to pass nested query parameters.
The library qs handles this very well.
It would be nice to be able to replace that logic on the hono/client and on the server side too.
For example: { page: '1', pageSize: '25', 'status[0]': 'DRAFT' } it is a parsed result from the server side from this query: page=1&pageSize=25&status%5B0%5D=DRAFT but qs is able to parse this correctly back to an array instead of this string key: status[0].
Server side: https://github.com/honojs/hono/blob/main/src/utils/url.ts#L210
Client side: https://github.com/honojs/hono/blob/main/src/client/utils.ts#L18
The text was updated successfully, but these errors were encountered: