# All channels
# Apollo Angular
# Apollo Android
# Apollo Client
# Apollo Federation
# Apollo iOS
# Apollo Link
# Apollo Link Rest
# Local State
# Apollo Platform
# Apollo Server
# Apollo Tooling
# GraphQL Tools
# React Apollo
# Vue Apollo
Downgrading HTTP Link to XMLHttpRequest
Quick question... I'm using a logging/debugging service that doesn't work with fetch. I'd like to try a "downgrade" to regular AJAX/XMLHttpRequest, but I don't see that there's an API in Apollo-http-link for such a move. Can anyone point me in the right direction? Can I provide…
URI per query - while initial uri works OK, unsure how to implement dynamic uri…
building a simple search application in Angular, with a graphql server over elasticsearch. grqphql-compose-elastic is a future possibility, but for now, I'm experimenting with passing the elastic query to the backend in the uri. This works fine for the initial query, but repeat…
apollo-link-error throws TypeError: retriedResult.subscribe
Hi everyone, I need to send out an error message if the authentication fails with ApolloClient, so I thought I should have used an apollo-link-error. However, the code I am posting below prints out Error details correctly, but then blows up returning the error TypeError:…
Would it be reasonable to implement @defer (-ish) as a link?
In lieu of actual server-side @defer support, I'm considering writing a link that would split a query with @defer directives into multiple queries, send them separately, and combine the results as they come back. That way, you can still let your faster data come back before your…
Apollo-link-state for ui state?
Hello, I am currently working on a project where we use React + GraphQL, everything is very cool, however recently they asked us to keep user data on the different routes (so that what they edited does not get lost), so there are some things that they are in the UI as sidebars…
SSR apollo link http not passing authentication cookies
I have a nextjs app running on localhost:3000 and a graphql server running at localhost:8000. I have a login mutation that is writing a cookie to the response. cors is set up on the graphql server with credentials: true and origin: 'http://localhost:3000'. On the nextjs end I am…
When using apollo-link-http, what is the standard way of defining network timeouts for queries? I found https://github.com/drcallaway/apollo-link-timeout but currently it seems to measure the timeout on the time from the request was issued until it completes, even if the network…
Best Practice to implement OAuth2 RefreshToken
https://tools.ietf.org/html/rfc6749#section-1.5 When I have to get a new token via the refreshToken I also have to repeat the last query with the new accesstoken. How can I do this? updating the token should be easy but how can I repeat the last query with the new token?
How do I reduce rapid successive mutations?
I hope this is the right place for this. I've got a cart with plus and minus buttons next to the quantity of the cart items. When a user wants to increase their quantity from 2 to 6, for example, Apollo sends 4 mutation requests to the server, even though only the last one ("Set…