apollo-client-devtools
apollo-client-devtools copied to clipboard
fix: cache data empty in queries tab
This PR fixes the cache data empty issue in the Queries tab, fixes #816
Screenshots
| BEFORE | AFTER |
|---|---|
![]() |
![]() |
@mohit23x: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/
Hey @Jephuff @mayakoneval @alex-wilmer @cheapsteak can you folks check this PR once.
What i found was after apollo version 3.4.17 the diff variable is not present in the observableQuery.queryInfo object.
Would love to get this merged
Thanks a ton for this PR!
I went ahead and updated your branch to use the getDiff() function, which should be cleaner and more stable than accessing lastDiff directly. After tests pass I'll go ahead and merge.
All the best, Emmanuel :-)

