Re: [whatwg/url] Consider adding a constructor to make a URL from parts (#354)

I don't think that's a valid argument since if you use the public API to implement it you'll always be safe. The main rationale for this feature would be ergonomics and the main drawback is that it would be quite complicated to specify (mostly due to refactoring that would be needed) and test (due to all the various scenarios it enables). I suspect implementation would not be as hard, but we need the other two first.

And so the main question I have is how often this would be used and I think a library would be a good proxy for that.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/354#issuecomment-348417748

Received on Friday, 1 December 2017 07:02:00 UTC