-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Remove dependency on path-to-regexp #11983
Remove dependency on path-to-regexp #11983
Conversation
🦋 Changeset detectedLatest commit: f40fede The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
This PR is blocked because it contains a minor
changeset. A reviewer will merge this at the next release if approved.
87146a7
to
45f136b
Compare
45f136b
to
f40fede
Compare
Resolves #11956 |
This is now a patch — no block needed, thank you robot!
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.
These changes look good to me and nice to see all the tests passing and we get to be once dependency lighter.
Thank you @uwej711!
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.
Looks great to me, thank you for contributing this!
This unfortunately had to be reverted due to a regression. This PR has the revert: #11993 There's now a test so if you want to take another look at it maybe it's not too hard to fix. |
Thanks for the information. This will happen when the value for a rest parameter is not supplied. In that case an extra slash or a trailing slash is added to the generated path. It should work when we remove double and trailing slashes from the generated path. I will give it a try over the weekend. |
Changes
Testing
All existing test still run and code is already covered.
Docs
No change to docs necessary as this is only an internal implementation change.