menu

Apollo

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

Channels
Team
Hugh Willson
@hwillson
Jesse Rosenberger
@abernix
Jake Dawkins
@jakedawkins
Ellen Shapiro
@designatednerd
Jason Paulos
@jasonpaulos
James Baxley
@jamesbaxley
Martijn Walraven
@martijnwalraven
Ben Church
@bnchrch
Trevor Scheer
@trevor-scheer
Julia Black
@juliablack
Peggy Rayzis
@peggy
Adam Zionts
@zionts
Evans Hauser
@evans
Jackson Kearl
@jacksonkearl
Stephen Barlow
@stephen-barlow
Danielle Man
@daniman
Michael Watson
@michael-watson
Justin Anastos
@justin-anastos
Adam Torres
@adamatorres
Alisha Ehrlich
@alisha-ehrlich
Chang Wang
@cheapsteak
Claire Hough
@clairehough
David Glasser
@glasser
François Dufour
@francois-dfr
Matt DeBergalis
@debergalis
Tim Hingston
@timbotnik
Posts
Members
Info
down-caret

From Redux to Apollo+LocalState?

Was wondering if anyone is using local state on a real-world application and if Apollo is at a point where this is feasible? I'm particularly interested in local client state which is computed from server results. How does local state deal with computing local state when server…

thumbsup
0
message-simple
6

Why i am getting OPTIONS REQUEST??

i am getting OPTIONS REQUEST before POST REQUEST ?? i use react-apollo, graphql, expressJs

thumbsup
0
message-simple
11

Force update state

Is it possible to force the state update even if the value is the same?

thumbsup
0
message-simple
2

MockedProvider mutation failing (onMutationCompleted error), any example?

Hi, I am facing this issue during tests: https://github.com/apollographql/react-apollo/issues/3478 …

thumbsup
0
message-simple
1

Mutation doesn't update array fields of cached objects

I am using react-apollo 3.1.1. I have the following types. A message and a list of replies to that message. The following mutation aims to add a reply to a message (identified by messageID) and update the cached message to include the new reply. …

thumbsup
0
message-simple
1

refetch from query returns data from cache instead of new data

The refetch function when executed returns a promise which resolves with the data from the cache instead of data from the re-run query. Example: <Query query={SAMPLE_QUERY} fetchPolicy="cache-and-network"> { ({ refetch }) => <ChildComponent refetchParent={refetch} /> } </Query> …

thumbsup
0
message-simple
1

apollo-ios swift Upload support ?

Hi, do you know if apollo-ios support apollo upload type in graphql ? I created my backend using it it works pretty well and now I would like to implement it on my ios swift client but no luck till now... any help is welcome thank you

thumbsup
0
message-simple
1

If I want to log any Apollo client network error in one place

Suppose I have a graphql api that is to keep errors from client and in my client side I want to save errors by calling this api 1. how do I access client from a sole js function. const client = new ApolloClient({ //...other setting.... onError: ({ networkError }) => { if…

thumbsup
0
message-simple
1

Is there some how to model.js files read global variables created @ index.js ?

global.myvar cannot be read on the model.js - All of my model.js files is creating MSSQL connections. I'd like to create a single connection at index.js and set this as global. Any clue ?

thumbsup
0
message-simple
1

graphql express node along with every graphql query i get response __typename

how can we remove that __typename at express node layer is their any impact if i remove the datePriceMap: [,…] …

thumbsup
0
message-simple
1