- From: Jxck <notifications@github.com>
- Date: Wed, 25 Feb 2015 22:52:58 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Thursday, 26 February 2015 06:53:25 UTC
doing fetch with just one function is difficult to expand with adding api in future. (anti Open-Closed Principle) in current interface, we do all thing with - adding new props to option arguments - adding new methods to returned promise the problem is current `fetch()` is a high level api. but I believe we need a low level api for fetching what has capability for building XHR or kind of high-level api on top of it. I heard that chrome are going to export fetch to window in M42 (mid April) If that happens, it became hard to change fetch interface. I think we need to discuss more about current api while we have a chance to change api. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/20#issuecomment-76130872
Received on Thursday, 26 February 2015 06:53:25 UTC