From: Eduardo San Martin Morote Date: Fri, 29 Aug 2025 13:12:42 +0000 (+0200) Subject: chore: docs X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad12e0949a1be7734905f7faac8b56e06db5f9da;p=thirdparty%2Fvuejs%2Frouter.git chore: docs --- diff --git a/packages/router/src/experimental/route-resolver/matchers/param-parsers/strings.ts b/packages/router/src/experimental/route-resolver/matchers/param-parsers/strings.ts index 22fa9e0b..3e5c39a3 100644 --- a/packages/router/src/experimental/route-resolver/matchers/param-parsers/strings.ts +++ b/packages/router/src/experimental/route-resolver/matchers/param-parsers/strings.ts @@ -12,7 +12,11 @@ const PARAM_STRING_REPEATABLE = { } satisfies ParamParser /** - * Native Param parser for strings. + * Native Param parser for strings. This is a permissive parser that will + * transform `null` and `undefined` values to empty strings in single mode, and + * will filter out `null` values in arrays. It's meant to be used for query + * params. It doesn't make much sense to use it for path params will be `null | + * string | string[]` (all cases combined). * * @internal */