Closed Archmonger closed 1 year ago
Currently, a query refetch cannot be triggered unless through a use_mutation call. Apollo supports refetching via Result.refetch(), so we should too.
use_mutation
Result.refetch()
Develop a Query.refetch() function.
Query.refetch()
Wait I'm trolling, it is definitely there. I swear intellisense said it wasn't.
Current Situation
Currently, a query refetch cannot be triggered unless through a
use_mutation
call. Apollo supports refetching viaResult.refetch()
, so we should too.Proposed Actions
Develop a
Query.refetch()
function.