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

How can I recursively call client.query() in a React App?

I have a DynamoDB table behind AppSync/GraphQL that, in this particular use case, I need to pull down an entire dataset to perform aggregates on. With DynamoDB, it paginates the results by supplying a nextToken string until there is no more data to retrieve, and at that point…

thumbsup
0
message-simple
1

Result data manipulation?

I am using react and graphql. I am using graphql-tag in order to build queries. How can I manipulate the response before it resulted in the react component?

thumbsup
0
message-simple
1

Subscription is canceled for no reason

Please check here for details: https://github.com/cult-of-coders/apollo-live-client/issues/6 tldr; In a React component wrapped with a HOC, for some reason changing the props returned from this HOC break a Apollo Subscription - it gets immediately unsubbed.

thumbsup
0
message-simple
0

How do you share the same queries between multiple components?

For example, the User query is needed in multiple non-related places (header, page, settings etc.). 1. multiple useQuery 2. common container-components that use useQuery inside …

thumbsup
1
message-simple
10

Hi, how to share cache between query getItems() and getItem(id: 1)?

1. I get all todos from getTodos() 2. I edit todo with id 7 3. Fetch todo 7 from cache insted of from query getTodo(7)

thumbsup
0
message-simple
0

Getting error on MockedProvider.componentWillUnmount in React 16.11

Hello, We are using the following packages: • react-apollo 2.1.2 …

thumbsup
0
message-simple
0

I face problem with caching ,

here is my full problem I have query that takes two params, length, category first time its load from the web but the second time it's loaded from last cached data query GetTickets($category: TicketCategory, $length: Int) { …

thumbsup
0
message-simple
2

Using RefreshQueries within my mutation

Hello! I am currently using a mutation to perform an addition to a list. I am using refetchQueries in order to specify that the query responsible for displaying that list of items gets refreshed after the mutation. However, when I specify the refetchQueries, I get the following…

thumbsup
0
message-simple
0

Does Apollo deep compare the variables object with previous variables?

I am working with react-apollo and I am passing a nested variables object to Query component. If top level value in variables object changes then a graphQL request is made but if something changes in nesting then it just shows loading as false and there is no network…

thumbsup
1
message-simple
0

How to handle errors locally

I've setup 'onError' link using apollo-link-error to define common error handling behaviour, and I also want to take additional actions when failure, specifically after query/mutation code. for example, Any idea on this? Thanks in advance!

thumbsup
0
message-simple
1