-
Notifications
You must be signed in to change notification settings - Fork 50
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
fix path finding in express #148
base: master
Are you sure you want to change the base?
fix path finding in express #148
Conversation
could you please add new test and also check why ci is failing? |
Still missing test :) |
Need to study testing framework a little bit... |
@kibertoad anything else is missing? |
@Kenblair1226 Would that work correctly when addressing parametrized routes? Wouldn't this result in passing ids etc as a part of route as well? |
Ya, the params will be treated as path and mostly be ignored since not matching any schema. Any suggestion? |
@Kenblair1226 Something like this, I think: #74 |
per #81, borrow from @evelyne24's fix to use req.path if req.route does not exist.