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
Jake Dawkins
@jakedawkins
Martin B
@mbonnin
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
Adam Zionts
@zionts
Danielle Man
@daniman
Evans Hauser
@evans
Stephen Barlow
@stephen-barlow
Ashi Krishnan
@rakshesha
Michael Watson
@michael-watson
Thao
@thao
Justin Anastos
@justin-anastos
Tim Hingston
@timbotnik
Adam Torres
@adamatorres
Alisha Ehrlich
@alisha-ehrlich
Chang Wang
@cheapsteak
Claire Hough
@clairehough
David Glasser
@glasser
Fran莽ois Dufour
@francois-dfr
Matt DeBergalis
@debergalis
Sachin D. Shinde
@sachin-shinde
Posts
Members
Info

Changing the fetch-policy of an existing query hook

Is it possible to change the fetch-policy of an existing query hook dynamically on runtime?

thumbsup
0
message-simple
0

Can anyone tell me what's going on? Network error: Error writing result

Error: Network error: Error writing result to store for query: Store error: the application attempted to write an object with no provided id but the store already contains an id of User:5fa289f624aa9a000714ae21 for this object. The selectionSet that was trying to be written鈥

thumbsup
0
message-simple
1

Intermittent subscription crashing.

I am using next.js with Apollo Client 3 on the front end and a yoga/express server with Prisma 1 for the backend. Now I have three subs early on in the root level which become active when the user logs in. They are changes for the user, new chats and new messages where they are鈥

thumbsup
0
message-simple
0

how to read normalized reference

These are fragments of my cache declaration I want automaticaly setting a map of combox (reactive var comboMapVar) every time the query (getAllCombo) is runned the transformation doesn't work because the variable incoming is cache normalized data, so ele2 is a reference not real鈥

thumbsup
0
message-simple
0

Subscriptions: avoid subscribing multiple times to same data

So I have a <ReactiveQuery/> using this awesome package: https://github.com/cult-of-coders/apollo-live-client/blob/master/src/ReactiveQuery.js I did a small recode and ended up with a <Subscription/> component like so: My problem is now, that obviously subscribeToMore() might be鈥

thumbsup
1
message-simple
1

Websocket connect not working for firefox

Websocket connection working fine on google chrome but giving an error with firefox. This is the error I receive : the connection to ws://localhost:3001/v1/graphql was interrupted while the page was loading. 鈥

thumbsup
0
message-simple
1

Prevent multiple queries if Route changes

I am new to ApolloClient/GQL but I understand it does well with caching to prevent multiple queries. I have a <RootProvider /> in my app which when it mounts runs a query to get my list of accounts. Then the user selects their account, it 1) updates Global Redux provider, and 2)鈥

thumbsup
0
message-simple
0

How to use cache.modify with specific query cached multiple times

Hi! I am trying to delete an item from a list using cache.modify using the query name as an identifier (events to modify ROOT_QUERY.events in my case). However this events query is used in multiple places with different variables, therefore keyed on ROOT_QUERY multiple times. Is鈥

thumbsup
0
message-simple
0

How to do a partial query refetch after mutation?

After doing mutation I need to trigger update of the query but I do not want to update all the data from the initial query but only part of it (because only that part was changed), is there a way to do this? Thanks in advance!

thumbsup
0
message-simple
0

What's the correct way to manage dynamic queries?

Hello! I have a component that reads URL params and passes them to useQuery as variables for the GQL query. However, I don't know which params will be passed with each query. One time it might be size, colour and weight, another it may just be colour. What would you think to be鈥

thumbsup
0
message-simple
2