You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the only way to manage invalid data is to mark it as stale. We should add a way to tell the cache to reload a particular record by notifying every current subscriber of that record to refetch.
Not sure on the exact name of the method yet but it could look something like
functionapplyMutation(){const{ data }=awaitMyMutation.mutate()constuser=cache.get("User",{id: data.updateUser.user.id})// options are things like "invalidate", "refresh", etcuser.refetch()}
Criticality
cool improvement, my projects will benefit from it
The text was updated successfully, but these errors were encountered:
Describe the feature
Right now the only way to manage invalid data is to mark it as stale. We should add a way to tell the cache to reload a particular record by notifying every current subscriber of that record to refetch.
Not sure on the exact name of the method yet but it could look something like
Criticality
cool improvement, my projects will benefit from it
The text was updated successfully, but these errors were encountered: