Skip to content
Discussion options

You must be logged in to vote

it currently accepts a key and optionally filters. you can set exact to false to get the first query returned that matches that key. I don't think it is recommend for getQueryState, but you can do it. The filters are just kept in the same shape everywhere, and there are methods where it makes sense, and it also defaults to true for methods that have the plural word in their name, like invalidateQueries

for some context, see: #1725

also, moving this to discussion because it's not a bug.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lgenzelis
Comment options

Answer selected by lgenzelis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3022 on November 24, 2021 20:42.