-
I've read #7057 and it still seems to me that We have the same use case that @averageokguy had: One file defines the queries using
In our components, we may have additional restrictions on when we want the query to run. For example, maybe we have a "Show more by this author" that shows more of this author's posts. I'd like to handle it by using
My intention here is that the query cannot run if I think throwing on |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
query/packages/query-core/src/queryClient.ts Lines 598 to 603 in edec4a6
If I understand this correctly, we could achieve this by simplifying the condition?
? |
Beta Was this translation helpful? Give feedback.
see: #8407