feat(common): introduce experimental httpResource#59876
Closed
alxhub wants to merge 2 commits intoangular:mainfrom
Closed
feat(common): introduce experimental httpResource#59876alxhub wants to merge 2 commits intoangular:mainfrom
httpResource#59876alxhub wants to merge 2 commits intoangular:mainfrom
Conversation
f788be2 to
6d675f9
Compare
Member
JeanMeche
reviewed
Feb 7, 2025
shannonvc
reviewed
Feb 9, 2025
0f8d422 to
dfdf2e9
Compare
|
Deployed adev-preview for 8aec2df to: https://ng-dev-previews-fw--pr-angular-angular-59876-adev-prev-nq5hq5l9.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
8d72162 to
dc3ca81
Compare
766618b to
a32144d
Compare
a32144d to
d2f90cd
Compare
d2f90cd to
55c872a
Compare
The changes in angular#58288 are responsible for breaking the tests. (see angular#54858). We'll re-enable them on the next release.
55c872a to
dc91c85
Compare
jelbourn
reviewed
Feb 11, 2025
kirjs
approved these changes
Feb 12, 2025
2c7bb36 to
885006c
Compare
cexbrayat
reviewed
Feb 13, 2025
cexbrayat
reviewed
Feb 13, 2025
`httpResource` is a new frontend to the `HttpClient` infrastructure. It declares a dependency on an HTTP endpoint. The request to be made can be reactive, updating in response to signals for the URL, method, or otherwise. The response is returned as an instance of `HttpResource`, a `WritableResource` with some additional signals which represent parts of the HTTP response metadata (status, headers, etc).
885006c to
8aec2df
Compare
jelbourn
approved these changes
Feb 14, 2025
Contributor
jelbourn
left a comment
There was a problem hiding this comment.
LGTM
Reviewed-for: public-api
pkozlowski-opensource
approved these changes
Feb 14, 2025
Member
pkozlowski-opensource
left a comment
There was a problem hiding this comment.
LGTM
Reviewed-for: public-api
Reviewed-for: fw-core
thePunderWoman
pushed a commit
that referenced
this pull request
Feb 14, 2025
`httpResource` is a new frontend to the `HttpClient` infrastructure. It declares a dependency on an HTTP endpoint. The request to be made can be reactive, updating in response to signals for the URL, method, or otherwise. The response is returned as an instance of `HttpResource`, a `WritableResource` with some additional signals which represent parts of the HTTP response metadata (status, headers, etc). PR Close #59876
Contributor
|
This PR was merged into the repository by commit 3e39da5. The changes were merged into the following branches: main |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
httpResourceis a new frontend to theHttpClientinfrastructure. It declares a dependency on an HTTP endpoint. The request to be made can be reactive, updating in response to signals for the URL, method, or otherwise. The response is returned as an instance ofHttpResource, aWritableResourcewith some additional signals which represent parts of the HTTP response metadata (status, headers, etc).