question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

update on subscribe (Direct Cache Access)

See original GitHub issue

I would like to replace updateQueries with update (Apollo Client’s new imperative store API), but it seems update is currently only available on mutations.

Expected Behaviour

You should be also able to use update on subscribeToMore, like you are able to on mutations

Version

  • apollo-client@1.0.3

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
stale[bot]commented, Aug 15, 2017

This issue has been automatically closed because it has not had recent activity after being marked as stale. If you belive this issue is still a problem or should be reopened, please reopen it! Thank you for your contributions to Apollo Client!

0reactions
sorokinvjcommented, Jul 27, 2019

@lgaovf Gustavo, did you manage to solve it?

I have subscribeToMore that doesn’t update store and stuck with updating it directly. Neither client.writeQuery not refetch doesn’t work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Direct Cache Access - Apollo GraphQL Docs
Read and write functions for fine-grained cache access.​​ Apollo Client normalizes all of your data so that if any data you previously fetched...
Read more >
Understanding I/O Direct Cache Access Performance for End ...
Direct Cache Access (DCA) enables a network interface card (NIC) to load and store data directly on the processor cache, as conventional ...
Read more >
1B3 Understanding I/O Direct Cache Access Performance for ...
1B3 Understanding I/O Direct Cache Access Performance for End Host Networking. 42 views 5 months ago ... Subscribe. 0. I like this.
Read more >
Cache Access Example (Part 1) - YouTube
Shows an example of how a set of addresses map to a direct mapped cache and determines the cache hit rate.
Read more >
Direct Cache Access – Angular - GraphQL Code Generator
Apollo Client normalizes all of your data so that if any data you previously fetched from your GraphQL server is updated in a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found