apollo-feature-requests
apollo-feature-requests copied to clipboard
🧑🚀 Apollo Client Feature Requests | (no 🐛 please).
Currently it seems [local-only](https://www.apollographql.com/docs/react/local-state/managing-state-with-field-policies) fields do not return in mutation responses. To elaborate I have a query that returns type FooType and that same type is returned in the create...
Coming from relay, I miss possibility to delay sending of the mutation to the server and apply only optimistic update until there is good time to commit it to server....
## Problem When installing Apollo client with some other UI libraries/frameworks other than React, package manager often complains about React dep not available. ## Proposal It would be much better...
I just realised that when providing a `MockedResponse` to `MockedProvider`, you can provide a `newData` key in the `MockedResponse`. This seems to be an alternative to the `result` key. I...
# Problem Suppose there are query and variable combinations that occur quite frequently, and also swap between active and inactive states very often. The related data does not change very...
Hi. There is useQuery(), but there is no useFragment() which would allow to watch some fragment in the cache and re-render accordingly. - This hook useFragment is supported in Relay:...
Migrated from: apollographql/apollo-client#1564
Hi, hope you are doing well. We were using "apollo-client": "^2.6.4". After migrating to apollo client 3.2.5 we have issue with merging data in cache. We have some types that...
# The Problem When using `cache-first` fetch policy I often require side-effects as result of querying data. The `onCompleted` callback generally addresses this problem, but only triggers when data is...
As described in the title, I would like the `context.headers` variables also be used in calculating the cache key in the Apollo Client to better support at least the following...