We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18f997e commit ad12e09Copy full SHA for ad12e09
packages/router/src/experimental/route-resolver/matchers/param-parsers/strings.ts
@@ -12,7 +12,11 @@ const PARAM_STRING_REPEATABLE = {
12
} satisfies ParamParser<string[], (string | null)[]>
13
14
/**
15
- * Native Param parser for strings.
+ * Native Param parser for strings. This is a permissive parser that will
16
+ * transform `null` and `undefined` values to empty strings in single mode, and
17
+ * will filter out `null` values in arrays. It's meant to be used for query
18
+ * params. It doesn't make much sense to use it for path params will be `null |
19
+ * string | string[]` (all cases combined).
20
*
21
* @internal
22
*/
0 commit comments