apollo-feature-requests icon indicating copy to clipboard operation
apollo-feature-requests copied to clipboard

🧑‍🚀 Apollo Client Feature Requests | (no 🐛 please).

Results 193 apollo-feature-requests issues
Sort by recently updated
recently updated
newest added

Currently, passing a DocumentNode containing operations to `readFragment` throws an error: > No operations are allowed when using a fragment as a query. Only fragments are allowed. https://github.com/apollographql/apollo-client/blob/master/src/utilities/graphql/fragments.ts#L44-L51 Could existing...

project-apollo-client

Since v10 Angular is showing a warning for [graphql-tag](https://github.com/apollographql/graphql-tag/issues/303) since it's a CommonJS import that should now be replaced with ES6 code. The same applies for apollo's dependencies itself, for...

project-apollo-client

Hi, I'm experimenting with v3 and very much like the new `broadcast` option for `writeQuery()`, thanks. Some of my use cases would be very much simplified if `InCacheMemory.broadcastWatches()` was public...

project-apollo-client

It would be extremely useful to have a function to retry all failed queries. Apollo Link already does this automatically, but having a `retryAllFailedQueries` function the client could call it...

core

We're building more and more with `useFragment` and for the most part are pretty happy with it. Something that comes up frequently as a footgun, though, is folks forgetting to...

core

I'm working on a real-time data heavy application and we'd like to integrate our subscriptions with `Suspense`. Due to reasons having to do with uncertainty around race conditions we: -...

react

Libraries such as SWR and React Query support opting into queries re-fetching upon the window being re-focused. They allow to you configure this behavior on a per-query or on a...

core

Currently there is no timeout mechanism in Apollo Client. The only way to achieve that is to create a custom link with the logic to timeout and cancel the inflight...

:link: apollo-link

Something like [Batch HTTP Link](https://www.apollographql.com/docs/react/api/link/apollo-link-batch-http/#options), but instead of batching multiple queries into a single HTTP request, we should be able to consolidate them into one larger query. ## Example ```jsx...

core

Apollo Client currently uses [@wry/equality](https://github.com/benjamn/wryware/blob/main/packages/equality/src/index.ts#L8) to determine whether `variables` has changed between invocations of `useQuery`. See: [source 1](https://github.com/apollographql/apollo-client/blob/main/src/core/ObservableQuery.ts#L906), [source 2](https://github.com/apollographql/apollo-client/blob/main/src/react/hooks/useQuery.ts#L321), [source 3](https://github.com/apollographql/apollo-client/blob/main/src/core/ObservableQuery.ts#L931) and maybe more. That works fine for the...

core