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

fix(core): return the same children query results if there are no changes #54392

Conversation

pkozlowski-opensource
Copy link
Member

Assure that the same readonly array corresponding to the children query results is returned for cases where a query is marked as dirty but there were no actual changes to the content of the results array (this can happen if a view is added and removed thus marking queries as dirty but not influencing final results).

@pkozlowski-opensource pkozlowski-opensource added area: core Issues related to the framework runtime core: queries core: reactivity Work related to fine-grained reactivity in the core framework labels Feb 12, 2024
@ngbot ngbot bot modified the milestone: Backlog Feb 12, 2024
@pkozlowski-opensource pkozlowski-opensource added target: rc This PR is targeted for the next release-candidate action: review The PR is still awaiting reviews from at least one requested reviewer labels Feb 12, 2024
@pkozlowski-opensource pkozlowski-opensource marked this pull request as ready for review February 12, 2024 12:01
@pkozlowski-opensource pkozlowski-opensource added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Feb 12, 2024
…nges

Assure that the same readonly array corresponding to the children query results
is returned for cases where a query is marked as dirty but there were no actual
changes to the content of the results array (this can happen if a view is added
and removed thus marking queries as dirty but not influencing final results).

Fixes angular#54376
@pkozlowski-opensource pkozlowski-opensource added the merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note label Feb 12, 2024
@pkozlowski-opensource
Copy link
Member Author

caretaker note: I believe that G3 failures are unrelated, pre-exisiting flakes

@AndrewKushnir
Copy link
Contributor

This PR was merged into the repository by commit ff62244.

AndrewKushnir pushed a commit that referenced this pull request Feb 12, 2024
…nges (#54392)

Assure that the same readonly array corresponding to the children query results
is returned for cases where a query is marked as dirty but there were no actual
changes to the content of the results array (this can happen if a view is added
and removed thus marking queries as dirty but not influencing final results).

Fixes #54376

PR Close #54392
atscott pushed a commit to atscott/angular that referenced this pull request Feb 16, 2024
…nges (angular#54392)

Assure that the same readonly array corresponding to the children query results
is returned for cases where a query is marked as dirty but there were no actual
changes to the content of the results array (this can happen if a view is added
and removed thus marking queries as dirty but not influencing final results).

Fixes angular#54376

PR Close angular#54392
vladboisa pushed a commit to vladboisa/angular that referenced this pull request Feb 20, 2024
…nges (angular#54392)

Assure that the same readonly array corresponding to the children query results
is returned for cases where a query is marked as dirty but there were no actual
changes to the content of the results array (this can happen if a view is added
and removed thus marking queries as dirty but not influencing final results).

Fixes angular#54376

PR Close angular#54392
@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 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 Mar 14, 2024
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: core Issues related to the framework runtime core: queries core: reactivity Work related to fine-grained reactivity in the core framework merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants