Skip to content

Scoping Routes by Path #122

Answered by jbr
jalcine asked this question in Q&A
Discussion options

You must be logged in to vote

For a performance cost on the order of nanoseconds, you can mount the routers inside of an outer router, as in this example. Does that meet the with_route_prefix need, or is it important that this is defined on the inner routers?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jalcine
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants