Long query string arrays converted to objects (express issue) #7581
-
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. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Have you tried to stringify your filter before sending it to loopback 4 ? |
Beta Was this translation helpful? Give feedback.
Have you tried to stringify your filter before sending it to loopback 4 ?