Motivation
Motivation
Coming out adding support for dynamic routing, it would be good to add support for catch all routes, through a rest / spread naming convention that "catches" all route segments starting from the spreaded segment into one param.
src/
pages/
[org]/
[team]/
[...milestone].js
Would match / yield the following params for this kind of route; /projectevergreen/greenwood/milestone/1/
{
org: 'projectevergreen',
team: 'greenwood',
milestone: '/milestone/1/'
}
Technical Design
Technical Design
Inspired by these implementations
Additional Context
Additional Context
Should also make sure to account for adapter plugins, and any types for this.
Motivation
Motivation
Coming out adding support for dynamic routing, it would be good to add support for catch all routes, through a rest / spread naming convention that "catches" all route segments starting from the spreaded segment into one param.
Would match / yield the following params for this kind of route;
/projectevergreen/greenwood/milestone/1/Technical Design
Technical Design
Inspired by these implementations
Additional Context
Additional Context
Should also make sure to account for adapter plugins, and any types for this.