Questions tagged [vue-apollo]

Apollo/GraphQL integration for VueJS

339 questions
3
votes
0 answers

Disable cache when running vue-apollo queries manually

I use vue-apollo for working with GraphQL. I installed it via vue add apollo and as a result a have vue-apollo.js which I use for configuration. Current configuration: // Call this in the Vue app file export function createProvider (options = {})…
Victor
  • 5,073
  • 15
  • 68
  • 120
3
votes
2 answers

Apollo-Server GraphQL Subscription on External WebSocket Server

So I have a bit of a question since I'm having a hard time wrapping my head around it. Currently I have a GraphQL API Server created using Apollo-Server and persisted using a local sqlite database. I have the queries and mutations working…
animusdx
  • 380
  • 3
  • 16
3
votes
1 answer

How to clean all cache data?

Is it possible to use garbage collection cache.gc() with vue-apollo? Is there any way to clean all store cache data? For example, is it possible to run it inside a lifecycle?