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

Add ability to coerce route variables #42

Closed
cannikin opened this issue Jan 15, 2020 · 1 comment
Closed

Add ability to coerce route variables #42

cannikin opened this issue Jan 15, 2020 · 1 comment
Assignees

Comments

@cannikin
Copy link
Member

Add the ability to specify types or coercion methods to use on route variables before making them available to pages via props or useParams.

Proposed syntax was something like:

<Route path="/posts/{id:Int}" page={PostPage} name="post" />
@cannikin cannikin added this to To do in Redwood Tutorial via automation Jan 15, 2020
@cannikin cannikin added this to the Redwood Tutorial milestone Jan 15, 2020
@mojombo mojombo moved this from To do to In progress in Redwood Tutorial Jan 16, 2020
@mojombo mojombo moved this from In progress to Done in Redwood Tutorial Jan 18, 2020
@mojombo
Copy link
Contributor

mojombo commented Jan 18, 2020

Closed by #47.

@mojombo mojombo closed this as completed Jan 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants