Skip to content
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

[feat] ctx's key of _matchedRoute #159

Open
zhizhemodi opened this issue Aug 12, 2022 · 0 comments
Open

[feat] ctx's key of _matchedRoute #159

zhizhemodi opened this issue Aug 12, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@zhizhemodi
Copy link

Hello!

When I changed from old version to this new version, I found that the ctx._matchedRoute no longer give the mostSpecoficLayer.path, but the old version code still exist, so I think if the ctx._matchedRoute in router.js line 403 can change to ctx._lastMatchedRoute then people can use the mostSpecificLayer.path again.

ctx._matchedRoute = mostSpecificLayer.path \\ router.js line 403 =>
ctx._lastMatchedRoute = mostSpecificLayer.path
@zhizhemodi zhizhemodi added the enhancement New feature or request label Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant