@decocms/start 1.6.1 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decocms/start",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "type": "module",
5
5
  "description": "Deco framework for TanStack Start - CMS bridge, admin protocol, hooks, schema generation",
6
6
  "main": "./src/index.ts",
@@ -1506,7 +1506,11 @@ export async function resolveDeferredSection(
1506
1506
  ensureInitialized();
1507
1507
 
1508
1508
  const ctx: MatcherContext = { ...matcherCtx, path: pagePath };
1509
+ // Recover routeParams from the page match so nested `requestToParam`
1510
+ // resolvers (e.g. `:slug` on PDPs) return the right value.
1511
+ const match = findPageByPath(pagePath);
1509
1512
  const rctx: ResolveContext = {
1513
+ routeParams: match?.params,
1510
1514
  matcherCtx: ctx,
1511
1515
  memo: new Map(),
1512
1516
  depth: 0,