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
If you want an error to be thrown whenever the parameter limit is exceeded, set the `throwOnParameterLimitExceeded` option to `true`. This option will generate a descriptive error if the query string exceeds the parameterLimit.
assert.strictEqual(err.message, 'Parameter limit exceeded. Only 3 parameters allowed.');
145
+
}
146
+
```
147
+
148
+
When `throwOnParameterLimitExceeded` is set to `false` (default), **qs** will parse up to the specified `parameterLimit` and ignore the rest without throwing an error.
149
+
138
150
To bypass the leading question mark, use `ignoreQueryPrefix`:
0 commit comments