# All channels
Sachin D. Shinde@sachin-shinde
How to access response.headers with apollo-link-rest ?
Hi all, I wat to use apollo-link-rest to access a rest api, however, I can not per useQuery() access the response.headers. For example, a rest api with pagination, which put the first, prev, next, last information in the header. How can I access that? …
How does apollo-link-dedup work?
I have three child components that each define a query using useQuery. Each of the queries defined in these components have overlap in the fields that they're requesting, and they all have the exact same entrypoint into the schema (and variable). Despite this, it is resulting in…
What happened to apollo-link-state?
Where did it go? Are there any alternatives if it's gone forever? What I'm trying to do is sort of merge a set of web workers orchestrated via GraphQL with the GraphQL endpoint exposed by the backend, and apollo-link-state seemed to fit this bill, or am I wrong?
Apollo error link - setState inside onError method
Hi, I'm trying to display the error message I'm getting from the apollo API call to the user, so I try to save my current error in the state of my ApolloProvider inside the onError method. The problem is the onError method doesn't stop to rerun and then my page is rerendering…
Retry Link appears to prevent errors from being returned to useQuery hook
I'm currently using useQuery to handle queries and errors in specific components and was relying on the error property to display a message to the user: The error comes back as undefined once I've got the following RetryLink configured: Does anyone know if I can still bubble the…
Protocol problem using WebsocketLink
Hi! On the past few weeks i was trying to connect my React apllication using an Elixir Server, and while i was trying to connect on Firefox everything works fine, but on Chrome i get this error: Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but…
Invalidating a cached query based on it's members
I'm trying to figure out if it's possible to create a Link that will keep a record of the objects that result from a query and refetch that query if those objects are invalidated somehow? For example, the age old graphql problem of filtered lists of items. If that list query…