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
Unlike we do with useFindManyRecords at recor dupdate, we cannot do optimistic rendering and write straight to the cache as we are not able to compute the new value for the aggregated queries.
Technical input
We could mirror the triggerCreateRecordsOptimisticEffect kind of callback to refetch the aggregate queries. Maybe with Apollo we can have a way to access the names of the queries to refetch.
The text was updated successfully, but these errors were encountered:
Scope & Context
Unlike we do with useFindManyRecords at recor dupdate, we cannot do optimistic rendering and write straight to the cache as we are not able to compute the new value for the aggregated queries.
Technical input
We could mirror the
triggerCreateRecordsOptimisticEffect
kind of callback to refetch the aggregate queries. Maybe with Apollo we can have a way to access the names of the queries to refetch.The text was updated successfully, but these errors were encountered: