-
Notifications
You must be signed in to change notification settings - Fork 27k
feat(core): expose makeStateKey, StateKey and TransferState
#49563
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
feat(core): expose makeStateKey, StateKey and TransferState
#49563
Conversation
119aaae to
e3abd03
Compare
e1707ad to
9d25ef6
Compare
|
Would you be interested in a PR providing a migration for that ? |
|
@JeanMeche, sure why not. If you want to take a look at a similar migration you can check https://github.com/angular/angular/tree/12.3.x/packages/core/schematics/migrations/xhr-factory |
AndrewKushnir
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-for: public-api
jessicajaniuk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: fw-core, fw-platform-server, integration-tests, public-api
269c4a9 to
6fd7e1a
Compare
6fd7e1a to
0a891bb
Compare
0a891bb to
b4a06ec
Compare
This commits adds `makeStateKey`, `StateKey` and `TransferState` methods in `@angular/core` as public API and deprecated the same exported symbols in `@angular/platform-browser`.
DEPRECATED: `makeStateKey`, `StateKey` and `TransferState` exports have been moved from `@angular/platform-browser` to `@angular/core`. Please update the imports.
```diff
- import {makeStateKey, StateKey, TransferState} from '@angular/platform-browser';
+ import {makeStateKey, StateKey, TransferState} from '@angular/core';
```
Co-authored-by: Andrew Kushnir <43554145+AndrewKushnir@users.noreply.github.com>
b4a06ec to
afc4d33
Compare
|
This PR was merged into the repository by commit c024574. |
|
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 commits adds
makeStateKey,StateKeyandTransferStatemethods in@angular/coreas public API and deprecated the same exported symbols in@angular/platform-browser.DEPRECATED:
makeStateKey,StateKeyandTransferStateexports have been moved from@angular/platform-browserto@angular/core. Please update the imports.