rio icon indicating copy to clipboard operation
rio copied to clipboard

Detect Duplicate Page URL Segments

Open mad-moo opened this issue 4 months ago • 0 comments

When creating multiple pages, either via @rio.page, rio.ComponentPage or rio.Redirect, it is possible for multiple pages to share a common URL segment. This is nonsensical, because it's not clear which one should be displayed when navigating to that URL.

This also causes secondary problems e.g. with the default navigation which doesn't expect duplicate URLs and then displays wrong links.

It would be nice to have a check for this, and either raise an exception.

mad-moo avatar Oct 11 '24 06:10 mad-moo