Skip to content

Rename path to route everywhere#329

Merged
picklelo merged 2 commits intomainfrom
nikhil/rename-routes
Jan 24, 2023
Merged

Rename path to route everywhere#329
picklelo merged 2 commits intomainfrom
nikhil/rename-routes

Conversation

@picklelo
Copy link
Contributor

No description provided.

@picklelo picklelo linked an issue Jan 24, 2023 that may be closed by this pull request
"""
assert app.pages == {}
app.add_page(index_page, path="/test/nested")
app.add_page(index_page, route="/test/nested")
Copy link
Member

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