-
Notifications
You must be signed in to change notification settings - Fork 408
fetch api is not being intercepted by zones #108
Comments
It should be as it returns a Promise. |
Just submitted #112 to check what browsers need a patch. Would be interesting to know if the browsers are supposed to return a |
@IgorMinar from my tests the issue seems to be that That means that our monkey patch on Is this possible for you to check with the Chrome team if that's the current behavior is the desired one ? |
This bug is reproducible from zone.js 0.6.0. return new Promise((resolve, reject) => {
return window
.fetch(url, fetchOptions)
.then((response) => resolve(response.json()));
}); |
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
example usage:
The text was updated successfully, but these errors were encountered: