apollo-feature-requests
apollo-feature-requests copied to clipboard
π§βπ Apollo Client Feature Requests | (no π please).
In the current functionality of the Apollo Client react hooks, the hook `useMutation` has an option `update` which can store a callback function to update the cache. The react hook...
Hey there **Problem:** We would like to import a single fragment from a file containing fragments and queries. This would allow us to store fragments and queries referring to the...
# The Problem Itβs not possible to use cache redirects for union types. # Description Letβs take the example from the [cache redirects](https://www.apollographql.com/docs/react/caching/advanced-topics/#cache-redirects-using-field-policy-read-functions) documentation. We have two views - one...
Apollo's mock link for react is okay for basic testing but needs a lot of improvements, particularly when it comes to dealing with subscriptions. It's also impossible to assert against...
[This issue](https://github.com/apollographql/apollo-link/issues/374) on the old Apollo Link repo sums it up: there are cases (like testing, and demos) in which a SchemaLink user wants to add a subscription to their...
# Summary From: https://github.com/apollographql/apollo-client/issues/8384 I would like to request a new feature to change `operation` when executing Query/Mutation/Subscription. It satisfies the following: 1. It can change `operation.query`. It can add...
# Description I have an existing set of objects of a given type in the client cache. I would like a low level api function to be able to take...
When I get this error: `Missing field 'type' while computing key fields`. I would love to get some more information about where exactly this issue is. Some helpful information could...
## Problem To achieve derived local state when using `ReactiveVar`'s you must define a field policy on the `InMemoryCache`. Example Let's create some local state ```TypeScript import { makeVar }...
I love how Apollo Client uses IDs for auto updating the cache. A little feature that I'd like to see is that you can specify one or more expected IDs...