-
Notifications
You must be signed in to change notification settings - Fork 27.2k
fetch only partially patched. #50327
Copy link
Copy link
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: zonesIssues related to zone.jsIssues related to zone.jsstate: has PR
Milestone
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: zonesIssues related to zone.jsIssues related to zone.jsstate: has PR
Which @angular/* package(s) are the source of the bug?
zone.js
Is this a regression?
No
Description
While working on #50247, I believe we stumbled upon a patching issue with zone.js.
Zone.jsonly patches the firstPromisereturned byfetch. TheNgZonebecome stable after and doesn't wait for 2ndPromise(text()orjson()or body which returns aReadableStream).This is with the plugin
zone-fetch-patchimported.Stackblitz demo
cc @AndrewKushnir @alan-agius4