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

parameters extracted from url are always strings #341

Open
Vaevictus opened this issue Sep 4, 2016 · 0 comments
Open

parameters extracted from url are always strings #341

Vaevictus opened this issue Sep 4, 2016 · 0 comments

Comments

@Vaevictus
Copy link

Is there any way of defining that a parameter in the url is of a specific type?

currently /documents/:id/pages/:pageNumber/ will parse out id and pagenumber as a string, not a number. This is causing me problems later on when i use these variables in my components. I'd rather fix the problem at the source rather than putting fixes in upstream

Cheers

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

No branches or pull requests

1 participant