menu
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 Platform
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
Posts
Members
Info

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…

thumbsup
0
message-simple
0

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…

thumbsup
0
message-simple
1

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…

thumbsup
1
message-simple
0

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…

thumbsup
1
message-simple
6

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.

thumbsup
0
message-simple
0

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…

thumbsup
0
message-simple
1

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…

thumbsup
1
message-simple
1

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

thumbsup
0
message-simple
0

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…

thumbsup
0
message-simple
0

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…

thumbsup
0
message-simple
0