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

Rename path to route everywhere #329

Merged
merged 2 commits into from
Jan 24, 2023
Merged

Rename path to route everywhere #329

merged 2 commits into from
Jan 24, 2023

Conversation

picklelo
Copy link
Contributor

No description provided.

@picklelo picklelo linked an issue Jan 24, 2023 that may be closed by this pull request
@@ -107,7 +107,7 @@ def test_add_page_set_route_nested(app: App, index_page):
index_page: The index page.
"""
assert app.pages == {}
app.add_page(index_page, path="/test/nested")
app.add_page(index_page, route="/test/nested")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add error handling for this breaking change

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a deprecation warning

@picklelo picklelo merged commit 6f3d763 into main Jan 24, 2023
@Alek99 Alek99 deleted the nikhil/rename-routes branch January 25, 2023 22:28
ACucos1 pushed a commit to ACucos1/rd-pynecone that referenced this pull request Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consistently use "route" instead of "path"
2 participants