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

Async request response link and next.js SSR issue

I added a small Apollo Link to next.js "with-apollo-app" example that prevents next.js from rendering the page. Can someone help me understand why this link blocks…

thumbsup
0
message-simple
0

How do you pass an async merged schema to SchemaLink?

I use graphql client side using apollo-schema-link using (this)[https://blog.hasura.io/client-side-graphql-schema-resolving-and-schema-stitching-f4d8bccc42d2/] guide. I'd like to pass in a merged schema, which requires using async/await. Is this possible using…

thumbsup
0
message-simple
0

How to add delay for reconnection for `subscriptions-transport-ws`?

Hi, I am wondering if it is possible to add a custom delay to auto reconnection when reconnect is set to true.

thumbsup
0
message-simple
0

useGETForQueries with large queries

Hi It seems like useGETForQueries=true breaks if the query is too long. is there a way to use get if only query length fit query max size? …

thumbsup
0
message-simple
0

How to access client inside apollo-link chain ?

I am trying to reset the user on a 401 error inside the apollo-link chain. I can access the cache from context but not the client, updating directly the cache will not trigger a rerender. The stackoverflow post that comes close to that is here but I can't figure out how some of…

thumbsup
1
message-simple
0

How to add certificate pinning to HttpLink?

Hi guys, I am developing a react native app with react-apollo How could I add certificate pinning to HttpLink?

thumbsup
0
message-simple
0

ApolloLink

I am using ApolloClient from apollo-boost and want to be able to add a link that can terminate the operation before making an http request. I know it will fail and want to just save something in local storage and terminate the link. Any ideas on where to look for an example of…

thumbsup
1
message-simple
7

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…

thumbsup
0
message-simple
0

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…

thumbsup
0
message-simple
1

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

thumbsup
0
message-simple
0