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(router): Ensure title observable gets latest values #51561

Closed
wants to merge 1 commit into from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Aug 29, 2023

The data Observable is not updated unless there have been changes to the object. The current diffing does not look at symbol keys of the object but the title property is stored as a private symbol. This commit updates the object diffing to include symbols.

fixes #51401

@atscott atscott added area: router target: patch This PR is targeted for the next patch release labels Aug 29, 2023
@ngbot ngbot bot added this to the Backlog milestone Aug 29, 2023
Copy link
Contributor

@jessicajaniuk jessicajaniuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@atscott atscott force-pushed the titleObservable branch 2 times, most recently from b75d2d8 to 93f5ea1 Compare August 29, 2023 20:26
The data `Observable` is not updated unless there have been changes to
the object. The current diffing does not look at `symbol` keys of the
object but the `title` property is stored as a private `symbol`. This
commit updates the object diffing to include symbols.

fixes angular#51401
@atscott atscott added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Aug 30, 2023
@atscott
Copy link
Contributor Author

atscott commented Aug 30, 2023

caretaker note: It's green but the presubmit was triggered by someone else so I can't force the status to update https://fusion2.corp.google.com/presubmit/561209378/OCL:561209378:BASE:561402946:1693420793022:7fab9fb3;groups=PossiblyAlreadyFailing,AlreadyFailing/targets

@jessicajaniuk
Copy link
Contributor

@atscott Looks like this can't merge cleanly into 16.2.x. Updating to target: minor and needs a patch PR, per usual.

@jessicajaniuk jessicajaniuk added target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Aug 31, 2023
@jessicajaniuk
Copy link
Contributor

This PR was merged into the repository by commit f464e39.

LayZeeDK pushed a commit to LayZeeDK/angular__angular that referenced this pull request Sep 20, 2023
The data `Observable` is not updated unless there have been changes to
the object. The current diffing does not look at `symbol` keys of the
object but the `title` property is stored as a private `symbol`. This
commit updates the object diffing to include symbols.

fixes angular#51401

PR Close angular#51561
@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 Oct 1, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
The data `Observable` is not updated unless there have been changes to
the object. The current diffing does not look at `symbol` keys of the
object but the `title` property is stored as a private `symbol`. This
commit updates the object diffing to include symbols.

fixes angular#51401

PR Close angular#51561
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: router target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ActivatedRoute.title observable does not emit changes
3 participants