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: createQueryStore not setting subscription manager to enabled #6468

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

walmat
Copy link
Contributor

@walmat walmat commented Feb 26, 2025

What changed (plus any additional context for devs)

Noticed there was an edge case where a queryStore would begin disabled and not be triggered to enabled when it should. This fixes it.

There still exists an edge case if the enabled selector and params rely on the same piece of state that we don't update the enabled state before the params, so we end up triggering a fetch that's guaranteed to fail via abort. Not a huge deal, but should be addressed at some point in the future.

Screen recordings / screenshots

n/a

What to test

I'll throw up a mock here in a bit

@brunobar79
Copy link
Member

Launch in simulator or device for 340663c

@brunobar79 brunobar79 added the release for release blockers and release candidate branches label Feb 28, 2025
@brunobar79 brunobar79 requested a review from maxbbb February 28, 2025 19:47
@brunobar79 brunobar79 removed the release for release blockers and release candidate branches label Feb 28, 2025
Copy link
Contributor

@maxbbb maxbbb left a comment

Choose a reason for hiding this comment

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

Great catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants