swift-url-routing icon indicating copy to clipboard operation
swift-url-routing copied to clipboard

Parsing out an array of routes

Open darvelo opened this issue 2 years ago • 0 comments

By any chance does this library support parsing out an array of nested routes? For example:

/user/:123/profile // -> [AppRoute.user(id: 123), AppRoute.userProfile(id: 123) (or something like this)

This would be useful for the new NavigationStack path array. Would something like this be possible?

Thanks for Point-Free!

darvelo avatar Jan 19 '23 11:01 darvelo