Skip to content
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(platform-browser): add isEmpty method to the TransferState class #46915

Closed

Conversation

AndrewKushnir
Copy link
Contributor

@AndrewKushnir AndrewKushnir commented Jul 20, 2022

This commit adds the isEmpty method to the TransferState class to make it possible to check whether the state is empty or not. This is helpful in situations when the TransferState should be serialized and the content is transferred to the client (if the state is empty - certain operations can be omitted).

PR Type

What kind of change does this PR introduce?

  • Feature

Does this PR introduce a breaking change?

  • Yes
  • No

@AndrewKushnir AndrewKushnir added action: review comp: server target: minor This PR is targeted for the next minor release labels Jul 20, 2022
@ngbot ngbot bot modified the milestone: Backlog Jul 20, 2022
@pullapprove pullapprove bot requested review from alxhub, atscott and dylhunn Jul 20, 2022
Copy link
Contributor

@atscott atscott left a comment

reviewed-for: public-api

@pullapprove pullapprove bot requested a review from jessicajaniuk Jul 20, 2022
…lass

This commit adds the `isEmpty` method to the `TransferState` class to make it possible to check whether the state is empty or not. This is helpful in situations when the `TransferState` should be serialized and the content is transferred to the client (if the state is empty - certain operations can be omitted).
@AndrewKushnir
Copy link
Contributor Author

AndrewKushnir commented Jul 22, 2022

Presubmit.

@AndrewKushnir AndrewKushnir added action: presubmit A standard presubmit is running / required action: merge PR author is ready for this to merge and removed action: review action: presubmit A standard presubmit is running / required labels Jul 22, 2022
alxhub
alxhub approved these changes Jul 22, 2022
Copy link
Contributor

@alxhub alxhub left a comment

Reviewed-for: fw-core, integration-tests, public-api

We really need fewer approval groups.

@alxhub alxhub removed request for dylhunn and jessicajaniuk Jul 22, 2022
@pkozlowski-opensource
Copy link
Member

pkozlowski-opensource commented Jul 22, 2022

This PR was merged into the repository by commit 07606e3.

@angular-automatic-lock-bot
Copy link

angular-automatic-lock-bot bot commented Aug 22, 2022

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 policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge PR author is ready for this to merge comp: server target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants