# All channels
Sachin D. Shinde@sachin-shinde
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?
Deleted·24d# 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?
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…
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…
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…
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?
Query github graph to get repository details but use local state variable
I have some local state and want to query github using the above owner and name. Is that possible? Currently I first query to get owner and name and then do another query to github. I'm trying to do it all in 1 query
Writing to cache disabled a resolver
Description Using apollo-client 2.6 I have 2 local schemas right now, one for Session and one for PathHistory. I'm able to use cache.writeQuery to assigned starting data for Session without issue, but when I try to do the same for PathHistory, the Query resolver for PathHistory…
HI all! I have a normal query written in Graphql language in the client, is a file .graphql. I want to add the directive @client to that query only when the app is offline, is there a way?? i don't want to duplicate the file just for that.. the other idea i have is to create the…