The mutation’s refetchQueries option accept an array of strings, but if I understood correctly it’s the name that we put right after the query
keyword:
query MyThings {
things {
...
}
}
In this case, MyThings
, correct?
Is there a way to tell Apollo to refetch all queries that call a specific operation? things
in my case.
PS: Sorry if I’m getting the name of the concepts wrong, I don’t know what to call MyThings
and things
(they’re both “query” to me).