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

Make RememberObservers in nested registries work #1281

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

chrisbanes
Copy link
Contributor

At the moment RememberObserver support for retained state only works if it is added directly to the root retained registry. That works fine in our simple test, but NavigableCircuitContent adds a much more complex retained registry system, which uses multiple levels of registries.

This PR fixes this, adding support for nested registries. I've confirmed that this works as expected in Tivi.

@chrisbanes chrisbanes force-pushed the cb/remember-observer-nested branch from 12290ca to 4b88b62 Compare March 13, 2024 13:14
Copy link
Collaborator

@ZacSweers ZacSweers left a comment

Choose a reason for hiding this comment

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

One question!

@chrisbanes chrisbanes requested a review from ZacSweers March 13, 2024 14:52
@ZacSweers ZacSweers added this pull request to the merge queue Mar 13, 2024
Merged via the queue into slackhq:main with commit 4d23d70 Mar 13, 2024
5 checks passed
@ZacSweers ZacSweers deleted the cb/remember-observer-nested branch March 13, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants