Skip to content

Commit

Permalink
add queryStringParser config to middleware documentation
Browse files Browse the repository at this point in the history
Signed-off-by: David Janas <davidjanasr@gmail.com>
  • Loading branch information
drj17 committed Aug 13, 2020
1 parent d30b607 commit 91cda82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/v3.x/concepts/middlewares.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ The following middlewares cannot be disabled: responses, router, logger and boom
- `multipart` (boolean): Enable or disable multipart bodies parsing. Default value: `true`.
- `jsonLimit` (string|integer): The byte (if integer) limit of the JSON body. Default value: `1mb`.
- `formLimit` (string|integer): The byte (if integer) limit of the form body. Default value: `56k`.
- `queryStringParser` (see [qs](https://github.com/ljharb/qs) for a full list of options). - `arrayLimit` (integer): the maximum length of an array in the query string. Any array members with an index of greater than the limit will instead be converted to an object with the index as the key. Default value: `100`. - `depth` (integer): maximum parsing depth of nested query string objects. Default value: `20`

::: tip
The session doesn't work with `mongo` as a client. The package that we should use is broken for now.
Expand Down

0 comments on commit 91cda82

Please sign in to comment.