-
-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
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
Implement --route-prefix to set specific route prefix #682
Conversation
#[rstest] | ||
fn serves_requests_with_path_prefix( | ||
#[with(["--route-prefix", "foobar"])] server: TestServer, | ||
) -> Result<(), Error> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the old pr @aliemjay mentioned having more test cases. I don't really understand that case macro, the first two booleans make me wonder. Can someone help me with this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than a few nitpicks :) it looks good.
Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
… feat_route_prefix
@aliemjay thank you, applied your requested changes :) |
@svenstaro can you have a look? Not so much in the mood to rebase this another time. Also, a little bit off topic, but are you interested in having more maintainers for this project? |
Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
@Jikstra The dynamically-generated |
Also, the route prefix should be appended to the root dir breadcrumb, for the generated directory listing page. |
Looking now. Yes, I'd rather appreciate more maintainers on this project if you're up. Do you have any chat communication channels so that we can coordinate? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is great. Sorry for delaying for so long.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found the same issues that @Shados found, apart from that it seems good to merge for me.
I will be busy until march, but then I'm up. You can send me a message on **** |
Fixes #600