Don't patch itself recursively#467
Don't patch itself recursively#467Freak613 wants to merge 1 commit intoangular:masterfrom Freak613:patch-1
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
1 similar comment
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
I signed it! lol |
|
CLAs look good, thanks! |
1 similar comment
|
CLAs look good, thanks! |
|
Duplicate of #451 |
I'm using fetch polyfill (https://github.com/camsong/fetch-ie8).
I'm loading this polyfill before zone.js loading, to get fetch patched by zone.
In this block fetch has been called to patch its returning Promise realization.
It happens, that at the moment of the call, global Promise already has been patched by Zone, fetch returns ZoneAwarePromise as a result, and then zone patch its own promise which leads to recursive calls on the first attempt of using fetch.