Skip to content
Discussion options

You must be logged in to vote

Partial matching is a feature that is baked into all of the queryCache functions that search the cache to find queries. though it may not make much sense for setQueryData, it does for things like refetchQueries.

The fact that this came by surprise to you is a good indicator that we should probably not make setQueryData a partial matching function.

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
8 replies
@denisborovikov
Comment options

@denisborovikov
Comment options

@tannerlinsley
Comment options

@villesau
Comment options

@villesau
Comment options

Answer selected by denisborovikov
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@YassienW
Comment options

@TkDodo
Comment options

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