refactor(core): mark resource() overloads as @publicApi 22.0#68723
Merged
mattrbeck merged 1 commit intoMay 13, 2026
Conversation
angular#68253 graduated `resource`, `rxResource`, and `httpResource` to stable by swapping `@experimental` for `@publicApi 22.0` across three files. The two `resource()` overloads in `packages/core/src/resource/resource.ts` were missed and still carried `@experimental 19.0`. The public-api golden already lists both overloads as `// @public`, so this aligns the source with what the rest of the codebase reflects.
JeanMeche
approved these changes
May 13, 2026
Member
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
#68253 graduated
resource,rxResource, andhttpResourceto stable by swapping@experimentaltags for@publicApi 22.0across three files. The tworesource()function overloads inpackages/core/src/resource/resource.ts(lines 49 and 63) were missed and still carry@experimental 19.0. The public-API golden atgoldens/public-api/core/index.api.md:1660,1665already lists both overloads as// @public, so the JSDoc is the only thing contradicting the rest of the codebase.What is the new behavior?
Both
@experimental 19.0tags are replaced with@publicApi 22.0, matching the pattern #68253 used in the sibling files (packages/common/http/src/resource.ts,packages/core/rxjs-interop/src/rx_resource.ts,packages/core/src/resource/api.ts).Does this PR introduce a breaking change?