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
I am using the urql client with the cache exchange on a server and need to access the cacheOutcome to track cache hit/miss metrics. Here’s an example of how I'm trying to use it:
As mentioned in this discussion and this issue the meta object (including cacheOutcome) is still unavailable in production, despite previous efforts to bring it back. As a result, cacheOutcome always defaults to a miss.
I've submitted a PR to fix this: #3715. Let me know if any changes are needed!
Reproduction
N/A
Urql version
5.0.4
Validations
I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
Describe the bug
I am using the urql client with the cache exchange on a server and need to access the cacheOutcome to track cache hit/miss metrics. Here’s an example of how I'm trying to use it:
As mentioned in this discussion and this issue the meta object (including cacheOutcome) is still unavailable in production, despite previous efforts to bring it back. As a result, cacheOutcome always defaults to a miss.
I've submitted a PR to fix this: #3715. Let me know if any changes are needed!
Reproduction
N/A
Urql version
5.0.4
Validations
The text was updated successfully, but these errors were encountered: