Skip to content

Commit

Permalink
fix(graphcache): Record dependencies for __typename accesses (#3335)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten authored Jul 25, 2023
1 parent 68d02c1 commit 449c476
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-melons-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@urql/exchange-graphcache': patch
---

Record a dependency when `__typename` field is read. This removes a prior, outdated exception to avoid confusion when using `cache.resolve(entity, '__typename')` which doesn't cause the cache to record a dependency.

0 comments on commit 449c476

Please sign in to comment.