Skip to content

fetch only partially patched.  #50327

@JeanMeche

Description

@JeanMeche

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.js only patches the first Promise returned by fetch. The NgZone become stable after and doesn't wait for 2nd Promise (text() or json() or body which returns a ReadableStream).

This is with the plugin zone-fetch-patch imported.

Stackblitz demo

cc @AndrewKushnir @alan-agius4

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: zonesIssues related to zone.jsstate: has PR

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions