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

@Jamesernator in particular it would be hard to ensure that the individual parts cannot affect the other individual parts, without essentially designing a second kind of URL parser. Otherwise you would essentially be doing string concatenation and there's no need for an API to do that.

If someone can demonstrate that this is a common need I'd be happy to reconsider, but at this point this feels like a stretch.

-- 
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-623482152

Received on Monday, 4 May 2020 14:01:39 UTC