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

getting error "Cannot query field \"calculate\" on type \"Query\"."

im getting the error "Cannot query field \"calculate\" on type \"Query\"." while trying to call the query using apollo client. please help. I searched online solutions and I'm using latest apollo version

thumbsup
0
message-simple
1

Is it possible to ignore NetworkError in ErrorLink?

In article regarding Error link there is section about ignoring errors: https://www.apollographql.com/docs/react/api/link/apollo-link-error/#ignoring-errors Ignoring graphQLErrors works properly, but I cannot find a way to ignore/filter networkError in ErrorLink

thumbsup
0
message-simple
0

Apollo Client Nextjs getstaticprops Unexpected token < in JSON at position 0

I am getting this error ServerParseError: Unexpected token < in JSON at position 0, when trying to use apollo client on vercel production in getstaticprops method, while getserver props runs seamless. Is anyone aware of this issue

thumbsup
0
message-simple
0

useQuery hook isn't passing variables down to the network request

I have this use case where I have to pass a variable in the useQuery hook, but this variable is not used in the actual query that I'm making. Now in the actual network request, the variable is missing, maybe because it's not required anywhere in the actual query. This variable鈥

thumbsup
0
message-simple
1

I don't think my cache is working

all my code looks correct, but I'm not seeing anything in my dev tools AND when I console.log "client.cache", I can't seem to find anything that looks like my cache in that object. What is a good method for verifying if my cache is working?

thumbsup
0
message-simple
5

how to use auth token stored in context API

hello, I presently manage log in my app. after a successful login, the value is stored in the react context API. this is the jwt token I need to include this jwt token in all of my graphql and query requests. how can I do this? the examples I see only talk about using apollo鈥

thumbsup
1
message-simple
3

Undefined elements are removed from an array in the cache

Hi, I am implementing infinite scrolling with pagination. I use the "fetchMore" API to request more data I I scroll through the page. To append data to my cache (which is the state of my app), I do: If the data is loaded sequentially that works. However, if I load a random chuck鈥

thumbsup
0
message-simple
2

How to get the server (api) data after mutation?

I am using a Django graphql API and I am trying to make a mutation from reactjs side. However, in this image you can see I can make a mutation and after the mutation, the API returns some data for me. Finally, in the following code, I am making the mutation request just like in鈥

thumbsup
1
message-simple
1

Is InMemoryCache supposed to work in Node.js?

I am building an HTTP service using Node.js and it needs to talk to an internal GraphQL service. Current code base uses ApolloClient to talk to the internal GraphQL service. And it works. But I want to add InMemoryCache because response time of GraphQL service can be slow. After鈥

thumbsup
0
message-simple
2

Usage of update() in mutations among typePolicies

Hi there!, I'm aware of the new cache configuration and it's typesPolices, and i do also receive deprecation warnings when using update() in queries, but no warning when applying it in mutations. Is it also deprecated for mutations? If a set typePolicies among with the update()鈥

thumbsup
0
message-simple
0