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

Feature sugestion: full URL #21

Open
piotr-s-brainhub opened this issue Nov 30, 2016 · 1 comment
Open

Feature sugestion: full URL #21

piotr-s-brainhub opened this issue Nov 30, 2016 · 1 comment

Comments

@piotr-s-brainhub
Copy link

It would be nice something like that:

var route = new Route('http://site:3000/products/:productId');
route.reverse({ productId: 123 });
@piotr-s-brainhub piotr-s-brainhub changed the title Feature sugestions: full URL Feature sugestion: full URL Nov 30, 2016
@drj-io
Copy link

drj-io commented Jun 29, 2018

Would like to see support for this, too. Workaround suggestion: use the url module to parse out the path.

Thanks!

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

2 participants