Skip to content

Conversation

@asvetlov
Copy link
Member

Resurrection of #435
The PR is almost backward compatible.
The only broken thing is: router[name] returns a Resource instead of Route.
Resource has url() and match() methods though, I don't expect that it will make problems with migration to new system.

Old routes are still supported if they are added by router.regiter_route() API.

Coverage is still not perfect but I want to introduce the PR for discussion and review.

@asvetlov asvetlov added this to the 0.21 milestone Jan 10, 2016
@asvetlov
Copy link
Member Author

Finish the PR, will merge it next week if no objections.

@asvetlov
Copy link
Member Author

Added doc page describing routes refactoring.

asvetlov added a commit that referenced this pull request Jan 25, 2016
@asvetlov asvetlov merged commit 3806cd2 into master Jan 25, 2016
@asvetlov asvetlov deleted the new_router branch January 25, 2016 18:08
@lock
Copy link

lock bot commented Oct 29, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants