Treating "Unknown query" warnings when trying to refetch (3.4)

Hi! I’m looking to upgrade to v3.3 to v3.4, but I’m noticing some new console warnings when a mutation specifies an inactive query in its refetchQueries option. v3.3 used to silently skip inactive/unknown queries. My case is a collapsible list of items (query is not mounted), and a side panel that needs to refetch that list after a mutation.

"Unknown query named "ListQuerry" requested in refetchQueries options.include array"

My question is how to deal with this case. Should I ignore the warning, or try to exclude the inactive query? Am I misusing refetchQueries? The warning message is unclear on what the way forward is.

Appreciate any insight you may be able to offer.

Hi there, did you actually find a solution to this issue? I’m seeing the same warning and don’t know if or how I should deal with it