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
The motive here is to keep track of the cached entries without having to memoize the arguments and duplicate the logic for weakly tracking them. This will enable the creators of OptimisticWrapperFunction to use the true keys for removing entries via the forgetKey API.
The text was updated successfully, but these errors were encountered:
sofianhn
pushed a commit
to sofianhn/optimism
that referenced
this issue
Apr 22, 2021
Per the conversation in apollographql/apollo-feature-requests#289, add
getKey
&forgetKey
API's toOptimisticWrapperFunction
.The motive here is to keep track of the cached entries without having to memoize the arguments and duplicate the logic for weakly tracking them. This will enable the creators of
OptimisticWrapperFunction
to use the true keys for removing entries via theforgetKey
API.The text was updated successfully, but these errors were encountered: