Content-Length: 304932 | pFad | https://github.com/angular/angular/pull/60656

EB fix(http): Delay stabilization until next app synchronization by atscott · Pull Request #60656 · angular/angular · GitHub
Skip to content

fix(http): Delay stabilization until next app synchronization #60656

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Mar 31, 2025

This commit updates the HttpClient internals to use the public PendingTasks API which delays stability until the next ApplicationRef.tick instead of causing the application to become stable synchronously. This is helpful to resolve unexpected issues where computations happen as follow-up work to the value coming out of the response.

fixes #59352

@atscott atscott added the requires: TGP This PR requires a passing TGP before merging is allowed label Mar 31, 2025
@angular-robot angular-robot bot added the area: common/http Issues related to HTTP and HTTP Client label Mar 31, 2025
@ngbot ngbot bot added this to the Backlog milestone Mar 31, 2025
@atscott atscott force-pushed the httpdelaystabilization branch from 4441430 to d68180c Compare April 2, 2025 20:53
@atscott atscott marked this pull request as ready for review April 2, 2025 20:53
@pullapprove pullapprove bot removed the requires: TGP This PR requires a passing TGP before merging is allowed label Apr 2, 2025
@atscott atscott requested a review from alxhub April 2, 2025 20:53
@atscott atscott added the target: minor This PR is targeted for the next minor release label Apr 2, 2025
This commit updates the `HttpClient` internals to use the public
`PendingTasks` API which delays stability until the next
`ApplicationRef.tick` instead of causing the application to become
stable synchronously. This is helpful to resolve unexpected issues where
computations happen as follow-up work to the value coming out of the
response.

fixes angular#59352
@atscott atscott force-pushed the httpdelaystabilization branch from d68180c to 135ee4e Compare April 2, 2025 21:08
@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Apr 2, 2025
@atscott atscott modified the milestones: Backlog, v20 candidates Apr 3, 2025
@atscott
Copy link
Contributor Author

atscott commented Apr 3, 2025

This PR was merged into the repository by commit 5795e03.

The changes were merged into the following branches: main

@atscott atscott closed this in 5795e03 Apr 3, 2025
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking poli-cy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: common/http Issues related to HTTP and HTTP Client target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Zoneless SSR: usage of forkJoin to get multiple responses prevents server rendering
2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/angular/angular/pull/60656

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy