We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
As Router implements WebApp protocol, I assumed I could nest routers as follows:
Router
WebApp
let userRouter = Router() userRouter["/create"] = ... userRouter["/list"] = ... let rootRouter = Router() router["/user"] = userRouter
That doesn't seem to work. Whenever I hit /user path, the WebApp assigned to /create always gets run, regardless of the subpath.
/user
/create
Is this a known limitation? Is there interest in getting contributors implementing this?
Thanks, Maz
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
As
Router
implementsWebApp
protocol, I assumed I could nest routers as follows:That doesn't seem to work. Whenever I hit
/user
path, theWebApp
assigned to/create
always gets run, regardless of the subpath.Is this a known limitation? Is there interest in getting contributors implementing this?
Thanks,
Maz
The text was updated successfully, but these errors were encountered: