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
The correct path is not being parsed on multi-level baseRoute, ie:
baseRoute
const express = require('express') const router = express.Router() router.route('/my/path').get(()=>{ /* someMethod() */ }) app.use("/api/multi/level", router)
will output:
[ { path: '/api/my/path', methods: [ 'GET' ] } ]
the output path ^^^^ is incorrect - and the endpoint /api/multi/level/my/path DOES exist when starting up the server and hitting it in the browser.
/api/multi/level/my/path
The text was updated successfully, but these errors were encountered:
Right! I didn't cover that use case.
Will work on it.
Sorry, something went wrong.
7cc5443
🐛 super multi-level base routes handled #10
19b7432
AlbertoFdzM
No branches or pull requests
The correct path is not being parsed on multi-level
baseRoute
, ie:will output:
the output path ^^^^ is incorrect - and the endpoint
/api/multi/level/my/path
DOES exist when starting up the server and hitting it in the browser.The text was updated successfully, but these errors were encountered: