menu

Apollo

A community of developers, designers and others who love Apollo and GraphQL. 🚀

Channels
# All channels
view-forward
# General
view-forward
# Apollo Angular
view-forward
# Announcements
view-forward
# Apollo Android
view-forward
# Apollo Client
view-forward
# Apollo iOS
view-forward
# Apollo Link
view-forward
# Apollo Link Rest
view-forward
# Local State
view-forward
# Apollo Studio
view-forward
# Apollo Server
view-forward
# Apollo Tooling
view-forward
# Contributing
view-forward
# Docs
view-forward
# Events
view-forward
# GraphQL Tools
view-forward
# Jobs
view-forward
# Random
view-forward
# React Apollo
view-forward
# Showcase
view-forward
# Subscriptions
view-forward
# Testing
view-forward
# Vue Apollo
view-forward
Team
Hugh Willson
@hwillson
Ellen Shapiro
@designatednerd
Jesse Rosenberger
@abernix
Martin B
@mbonnin
Jake Dawkins
@jakedawkins
James Baxley
@jamesbaxley
Jason Paulos
@jasonpaulos
Julia Black
@juliablack
Khalil Stemmler
@khalilstemmler
Martijn Walraven
@martijnwalraven
Jenn Creighton
@jenncreighton
Peggy Rayzis
@peggy
Ben Church
@bnchrch
Trevor Scheer
@trevor-scheer
Danielle Man
@daniman
Adam Zionts
@zionts
Evans Hauser
@evans
Stephen Barlow
@stephen-barlow
Ashi Krishnan
@rakshesha
Chang Wang
@cheapsteak
Michael Watson
@michael-watson
Thao
@thao
Justin Anastos
@justin-anastos
Tim Hingston
@timbotnik
Adam Torres
@adamatorres
Alisha Ehrlich
@alisha-ehrlich
Claire Hough
@clairehough
David Glasser
@glasser
François Dufour
@francois-dfr
Matt DeBergalis
@debergalis
Sachin D. Shinde
@sachin-shinde
Posts
Members
Info

How to cache in Vue-Apollo for different pages that use same query but…

I have 2 pages for Orders. Both are using the Orders GraphQL query and the only difference is the params for filtering. https://stackoverflow.com/questions/66513708/how-to-cache-in-vue-apollo-for-different-pages-that-use-same-query-but-different

thumbsup
0
message-simple
2

how to update cache after insert mutation?

vue 3, apollo 4, composition api, and without using the 'update' function, how do you update the cache after an insert mutation? should it be performed in the typePolicies options of the InMemoryCache? any examples ?

thumbsup
0
message-simple
0

How do I use multiple clients or graphql API's?

I have two queries and two different graphql endpoints for them. I found a discussion https://github.com/vuejs/vue-apollo/discussions/284 about it but I can't seem to make it work. My queries are always targetting the same endpoint.

thumbsup
0
message-simple
0

Using Apollo with Vue 3?

Is anyone using Vue 3 with Vue Apollo v4? I am trying to figure out whether it's possible to include authorization headers with mutations and queries the latest version. I'm aware the vue-apollo library is still catching up with the latest Vue, but there's a working example of…

thumbsup
1
message-simple
0

How do I tell the Apollo cache to set relationships on large datasets

I have an initial query: I can't get the photos, as this will make the dataset too large, so I execute another query when I dig into an album: Now, how do I tell the cache that these photos belong to the selected album?

thumbsup
0
message-simple
1

How do I use the @include or @skip directives in the ApolloQuery component?

In template, I am using the component: I also tried: My query: …

thumbsup
0
message-simple
0

WHAT AM I DOING WRONG :(

hello! im trying to call an apolllo mutation from vuex store and im not sure what ime doing wrong. const { ApolloServer, gql } = require('apollo-server') const typeDefs = gql` …

thumbsup
0
message-simple
0

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?

thumbsup
0
message-simple
1

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…

thumbsup
0
message-simple
6

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. …

thumbsup
0
message-simple
3