Extending route resolver grandparent limit

Hi, is there any way to extend the route resolver grandparent limit to great-grandparent and even possibly great-great-grandparent?

We have an existing site that we're migrating over that has a very nested url structure, and we're trying to see if it would be possible to do without creating our own link resolver and recursively fetching documents

Thanks,

Raj

1 Like

Hello @design-development, thanks for reaching out.
The Route Resolver is limited to 3 levels, here you can see some examples:

{
  type: "page",
  path: "/:grand_parent?/:parent?/:uid",
  resolvers: {
    parent: "parent",
    grand_parent: "parent.parent"
  }
}

Hi Pau,

Is there any way to up this limit at all?

Thanks,

Raj

At the moment, three levels are the limit for the length of the route resolver.

1 Like