useQuery arrayFormat configuration #8017
Replies: 1 comment
-
react query has nothing to do with this as it doesn't make API calls. It just handles promise based state. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wonder how can I send the GET request using
useQuery
method with non-square-bracket array query parameter. For example, if I have{ foo: ["a", "b", "c"] }
, I expect the query string to befoo=a&foo=b&foo=c
instead offoo[]=a&foo[]=b&foo[]=c
.Beta Was this translation helpful? Give feedback.
All reactions