# All channels
Sachin D. Shinde@sachin-shinde
track mutations in Apollo in offline mode
Hi everyone ! When my application is offline, I would like to track my queries and mutations to see if they were successful when the user is back online. This would allow me to properly inform the user about the status of the synchronization when they are back on the network. I…
Custom link to append general field to all outgoing queries?
I'd like to write an Apollo link that modifies the outgoing query to include an additional field that will be used by our server for error handling. Looking at the operation.query object in the console, it doesn't seem like this is feasible. Has anyone tried to implement…
Why, just absolute paths are allowed in serviceList for apollo-gatway?
I have a situation here, from docker i get host name as simple string like "gms-customers" which is alive host and received response when i ping but unfortunately, apollo-gateway is not supporting it. I have no way around at the moment. Is there any other way around? more…
How can I reuse Context when using SchemaLink for server-side-rendering?
I am struggling when I want to use SchemaLink for Server Side Rendering, because the context in my resolver functions is undefined when they are called. Therefore I cannot resolve stuff from my database, because therefore I need the dataSources from the context of the…
How can we intercept error and modify them before pushing them down the chain?
I want to intercept error in apollo client and convert them into custom error object that I can pass down the chain. So that all graphQL queries get my custom error object only in caller site. Any way to do this with Apollo Link.
What's a proper way to import types?
This question might not belong to this channel but I thought this is a good place to start. (The question might be out of the scope of Apollo ecosystem itself.) This is the summary of the app that I have now. It works fine. There's no problem with the code above. But recently I…
Shared state in Electron using Apollo
I've been working on a project recently that uses Electron and has multiple windows. I've been experimenting with several approaches. All approaches assume that there is one background window (hidden) that is the source of truth. 1. Have each window use it's own full Apollo…
Dynamically inject links
I see split being proposed in the docs for simple cases where you want to take a true/false path down a different link chain. This seems really messy though for situations where a large number of branches might be desired (say having different link chains for setting up headers,…
Clarification on getting apollo-link running local (for dev)
It looks like the apollo team dropped the bootstrap command due to some memory issues in Circle(https://github.com/apollographql/apollo-link/issues/1180) , but the docs we never updated. Anyone have any idea what the recommended way to get it running locally is? I'm trying to…
How to log the request to remote query ?
I just want to know if I pass the correct headers to remote query. here is my link list "link: ApolloLink.from([retryLink, logLink, ContextLink, remoteLink])", of couse the logLink cannot log the final http headers which I pass to remote query, 'cause ContextLink and remoteLink…