Skip to content

fix: call updater function for setQueryData - #226

Merged
tannerlinsley merged 1 commit into
TanStack:masterfrom
osiux:wrong-param-setQueryData
Mar 11, 2020
Merged

fix: call updater function for setQueryData#226
tannerlinsley merged 1 commit into
TanStack:masterfrom
osiux:wrong-param-setQueryData

Conversation

@osiux

@osiux osiux commented Mar 11, 2020

Copy link
Copy Markdown
Contributor

Last update changed something and now using the updater function on setQueryData sends a function instead of the old data to the updater function, making impossible to update query data this way.

Added a small test to cover this use case.

@tannerlinsley
tannerlinsley merged commit bcf152d into TanStack:master Mar 11, 2020
@osiux
osiux deleted the wrong-param-setQueryData branch March 11, 2020 17:43
@nx-cloud

nx-cloud Bot commented Mar 1, 2025

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit c7bfdc4

Command Status Duration Result
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 2m 6s View ↗
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 54s View ↗

☁️ Nx Cloud last updated this comment at 2026-06-28 00:07:31 UTC

GEREGUR pushed a commit to GEREGUR/query that referenced this pull request Feb 17, 2026
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.

2 participants