You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the driver takes in either a string or an object with url, input, init keys. These keys were based on the function signature in the MDN documentation but they are not intuitive names and url does not exist in the MDN doc.
That is, the user can pass a string, an array or an object. The string would be interpreted as the url, the array would be interpreted as an argument list for fetch, and an object would have an args field with the argument list for fetch with an optional key field with an arbitrary string key for response filtering.
On the source side, we would continue to attach the original request object to the response observable and allowing filtering by the key or the request object (JSON.stringify??).
Currently the driver takes in either a string or an object with
url
,input
,init
keys. These keys were based on the function signature in the MDN documentation but they are not intuitive names andurl
does not exist in the MDN doc.Discussion started in #6
/cc @teohhanhui
The text was updated successfully, but these errors were encountered: