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
Is your feature request related to a problem? Please describe.
Apollo now provides a refetchQueries option to refetch queries by name
=> mutations could automatically trigger a refetch of multi and single queries?
However, this pattern is limited:
if refetching by name, it only works if you have only one "useMulti" for a given model (however, our current system might also be subject to this limitation? Not sure if we update all relevant queries or just the first found)
what happens if the query is not triggered anyway
how to update the right "useSingle"?
So it's worth exploring but not sure if it would actually work
Is your feature request related to a problem? Please describe.
Apollo now provides a refetchQueries option to refetch queries by name
=> mutations could automatically trigger a refetch of multi and single queries?
However, this pattern is limited:
So it's worth exploring but not sure if it would actually work
https://www.apollographql.com/docs/react/data/mutations/#refetching-queries
The text was updated successfully, but these errors were encountered: