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

Support for Relative Uris #43

Open
joaopbnogueira opened this issue Feb 18, 2017 · 2 comments
Open

Support for Relative Uris #43

joaopbnogueira opened this issue Feb 18, 2017 · 2 comments

Comments

@joaopbnogueira
Copy link

First of all, thank you for your work.

Have you thought about the possibility of supporting relative Uri generation in addition to absolute ones?

If that is something that you would be OK with, I'm available to contribute.

Thanks

@ploeh
Copy link
Owner

ploeh commented Feb 18, 2017

I admit that I don't think much about Hyprlink these days, but I don't see why we couldn't add methods for relative URLs.

In ASP.NET Web API, they make the distinction between UrlHelper.Link and UrlHelper.Route, but I find those names meaningless. By that token, I think a new method for relative URLs should be called GetRelativeUri.

@joaopbnogueira
Copy link
Author

Exactly my thoughts, I'll see how to include it while keeping changes to a minimum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants