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

Storybook and useReactiveVar

I have a component that accepts no props and relies on useReactiveVar(localStateVar) for data. Is it possible to mock useReactiveVar in storybook?

thumbsup
0
message-simple
1

Reactive variables and apollo devtools

I can't see the reactive variables when debugging using apollo devtools (chrome extension) in the cache panel. I am new to Graphql and Apollo, and being able to debug using devtools is important to me, Do you plan to support this soon ? Otherwise I may go with writeQuery just鈥

thumbsup
0
message-simple
1

Queries with local and remote fields don't update with Apollo Client 3

When I update reactive variables directly my queries are not updating with the new local field values. I created a code sandbox to reproduce this: https://codesandbox.io/s/unruffled-franklin-jb6h2 If I change the version of Apollo Client to 2.x.x the query updates as expected,鈥

thumbsup
0
message-simple
0

Trying to get client.readQuery to work in React Native app. Help!

I'm working on a RN app using Apollo client and I have my login mutation writing a couple pieces of user data into the cache as ActiveUser: (data is the result of the login mutation) Then, in the next screen, I want to get that data from the cache so I have: 鈥

thumbsup
0
message-simple
1

Derived Local fields

I'm looking for a way to create derived local fields for my graphql type. ex: From the docs I didn't see any way of accessing the whole object:

thumbsup
1
message-simple
1

generate schema local state

Im looking at https://www.apollographql.com/blog/demystifying-cache-normalization/. I have two question. Does anyone know how to resolve this issue:https://github.com/apollographql/ac3-state-management-examples/issues/26#issue-701710423 And second, how do you generate a schema鈥

thumbsup
0
message-simple
0

Is makeVar() a react hook?

The apollo docs make it seem like makeVar() will trigger react to re-render on it's own. is this true? Or does it need to be used in conjunction with useQuery() See docs below https://www.apollographql.com/blog/local-state-management-with-reactive-variables/ I don't think it鈥

thumbsup
0
message-simple
0

Is it possible to get a field in my cache based on a field defined with鈥

I was using local resolvers before and added a virtual column to my entity that did show up in my cache. Now, I think I'm doing the same thing with field-policy and the field is not showing up in my cache, even when I update it with reactive variables. I posted to SO more鈥

thumbsup
0
message-simple
0

Using ApolloClient for Local statemanagent, how?

Hello, relatively new to Apollo and I'm not getting any wiser from the docs. I would like to save like for example two variables. One that stores the currentMonth and one currentYear. 鈥

thumbsup
0
message-simple
0

Apollo local-only state cache implementation help!

I'm choosing a cache-backed implementation for storing local-only fields (fields added to a remote schema type). Tangent: I selected this approach because it seems that the cache operations give me the option of broadcasting or not (in this case, I do not want my modification to鈥

thumbsup
0
message-simple
0