Skip to content

Commit ad12e09

Browse files
committed
chore: docs
1 parent 18f997e commit ad12e09

File tree

1 file changed

+5
-1
lines changed
  • packages/router/src/experimental/route-resolver/matchers/param-parsers

1 file changed

+5
-1
lines changed

packages/router/src/experimental/route-resolver/matchers/param-parsers/strings.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ const PARAM_STRING_REPEATABLE = {
1212
} satisfies ParamParser<string[], (string | null)[]>
1313

1414
/**
15-
* Native Param parser for strings.
15+
* 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).
1620
*
1721
* @internal
1822
*/

0 commit comments

Comments
 (0)