Long query string arrays converted to objects (express issue) #7581
Answered
by
marioestradarosa
christo911
asked this question in
Q&A
|
When using get request with filter including an array of more than strings, the filter is converted from an array to an object. https://github.com/expressjs/body-parser/issues/289 It also seems this was an issue in the past with loopback 3, and was resolved by increasing the querysting Array limit, as described here: https://github.com/strongloop/loopback/issues/2824 However, how can this be set in Loopback 4? Also the options, only allows for the settings of the requestBodyParser, not the express querystring (qs), which it is using. |
Answered by
marioestradarosa
Jun 13, 2021
Replies: 1 comment 1 reply
|
Have you tried to stringify your filter before sending it to loopback 4 ? |
1 reply
Answer selected by
achrinza
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you tried to stringify your filter before sending it to loopback 4 ?