You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hint=`If the param contains slashes, try using a rest parameter: **[...${invalidParam}]**. Learn more at https://docs.astro.build/en/core-concepts/routing/#dynamic-routes`;
360
+
}
361
+
}
362
+
returnnewAstroError({
363
+
...AstroErrorData.InvalidDynamicRoute,
364
+
message: invalidParam
365
+
? AstroErrorData.InvalidDynamicRoute.message(
366
+
route.route,
367
+
JSON.stringify(invalidParam),
368
+
JSON.stringify(received)
369
+
)
370
+
: `Generated path for ${route.route} is invalid.`,
* A dynamic route param is invalid. This is often caused by an `undefined` parameter or a missing [rest parameter](https://docs.astro.build/en/core-concepts/routing/#rest-parameters).
0 commit comments