Files
Josh Story bfabf995db Preserve array values for catch-all fallback parameters
Keep the public parameter shape consistent while rendering a fallback shell:
both [...slug] and [[...slug]] use an array containing the opaque placeholder,
rather than changing from an array to a scalar string when the value is unknown.
For example, code receiving params.slug must not see a different value shape
solely because the build is producing a less-specific shell.

The router tree still uses the same serialized segment string. Ordinary dynamic
parameters are unchanged. This fix is independent of experimental matching.

Update the two existing fallback-shape assertions: both fail before the fix;
all 47 getDynamicParam tests and both snapshots pass afterward.
2026-09-19 11:02:51 -07:00
..
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00
2026-09-18 23:23:12 +00:00