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
James Baxley
@jamesbaxley
Jason Paulos
@jasonpaulos
Julia Black
@juliablack
Martijn Walraven
@martijnwalraven
Khalil Stemmler
@khalilstemmler
Martin B
@mbonnin
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

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

Does `addResolvers` deduplicate?

Let's say I had two components, A and B, which both depended on the same resolvers, R, and both A and B load R lazily with client.addResolvers If I load component A first, then later on load component B, will apollo-client perform extra work to re-register R?

thumbsup
1
message-simple
0
Deleted109d# Local State

Local resolvers and cache preview

I'm using local resolvers to do some state manipulation. I am wondering why does my changes to the cache are not being reflected in the apollo dev tools cache preview. Any ideas?

thumbsup
0
message-simple
0

Apollo Client with Redux

I am doing a project of migrating existing project that uses Redux to Apollo Client. I am trying to see if there is a way if Apollo Client can use redux store instead of having its own state management? If doing an application from scratch, I would not want Redux and just use鈥

thumbsup
0
message-simple
0

Automatic caching after mutation

Manually writing cache.writeQuery after mutation. There is no way to do this automatically? https://www.apollographql.com/docs/react/data/mutations/#making-all-other-cache-updates

thumbsup
0
message-simple
2

Combining remote results with local results

Hi! I'm developing an app where I have to combine a list of local objects of type "ABC" with remote object of type "ABC". I guess, as these have the same type, the structure of these objects should be the same? Is there a possibility to write a resolver that maps the structure鈥

thumbsup
1
message-simple
0

Mutations in local schema

Hi! I'm trying to set up Apollo with local state management and I'm unable to get codegen working once I define mutation in local schema. It works as it should and it's even part of schema when I run apollo client:download-schema, but if I run apollo client:codegen鈥

thumbsup
1
message-simple
1

Client has typeDefs, but no `Docs` in GraphiQL

The Apollo local-state docs say that if I pass a typeDefs object to my client when I create it, I should be able to view schema docs in the dev tools. whelp: As you can see from the screenshot, I have typeDefs, but no dev-tools GraphiQL Docs section. Am I doing it wrong?

thumbsup
0
message-simple
7