# All channels
Sachin D. Shinde@sachin-shinde
How to declare this.$apollo when using class components in TypeScript?
Trying to figure out how to get TypeScript to recognize things like this.$apollo.mutate inside my class methods. My component extends the standard Vue class from vue-property-decorator for the Component decorator to work. Standard Vue class does of course not have any…
How to organize Apollo Client 3 on a big project?
Hello everyone, I'm currently searching for good practices to implement Apollo Client into a big project and I would love to see some examples. Someone has any links? Or how would you start from file structure and splitting cache or typeDefs?
Composite or Batch queries
Hi, is it possible for Vue Apollo to create composite queries? A composite / batch query I have an array if ids [ 12, 34, 56, 76, 76, …] and for each id I need to send a graphQL query. I could end up with a 500 queries being called one after the other. …
Hi everyone, hopefully a quick question here. In the example given here = https://apollo.vuejs.org/guide/apollo/queries.html#reactive-query-definition with the conditional in the query function, is it possible to pass variables to the queries, for instance randomTag(slug:…
vue-apollo with apollo client 3.0?
Doing a new client. Apollo is far enough behind on a 3.0 release that it's either happening really soon or not at all, so I'm debating whether to move forward using the beta. Most of their beta docs focus on react, which prompts me to wonder what the status of things is with…
Nuxt: InMemoryCache doesn't appear to get hit
Every time I navigate to a new route or even go back to a previous route, the apollo client seems to be fetching the data again, setting the cache-first fetchPolicy doesn't seem to help Here is how I have initialized the cache. It's in a plugin file which is included in…
How to update headers of Apollo Provider inside Vuex ?
Dear vue developers I have implemented StrAPI using vue-apollo. But queries which are made after login does not have token, just auto-login has correct token. Can anyone check out my stack overflow question? I have an test github repository too. …