Open joaopbnogueira opened 7 years ago
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
.
Exactly my thoughts, I'll see how to include it while keeping changes to a minimum.
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