apollo-feature-requests
apollo-feature-requests copied to clipboard
π§βπ Apollo Client Feature Requests | (no π please).
The context type specified for context is almost always either `any` or `Record`. Asking for an optional generic to help enforce context shapes. Below find an example from `ApolloClient.query`. Propose...
Apollo-client offsetLimitPagination only support offset and limit keys but my backend configurated take and skip keys. so how do you think using the offsetLimitPagination's second argument as a key? like...
I am using KeyArgsFunction to custom cacheKey, which can add operationName into cacheKey of rootFields. The reason is we are developing a web app, which is not sensitive to network...
The `pollInterval` feature is a nice way of periodically retrieving fresh data from the server. In our application, we take advantage of the `refetch()` function to force a refresh of...
### Why ? Our app is (as many ?) working with objects screen and dashboard with lists of those objects. Lists are quite big (~200/500 objects), and normalization brings a...
It would be nice to be able to specify additional "keys" for the caching logic of a query. This was mentioned in https://github.com/apollographql/apollo-client/issues/1420 but was subsequently closed. Concretely, if I'm...
I have a mixed application that uses Apollo for both React and non-react code. However, I canβt find documentation or code examples around testing non-react code with the apollo client,not...
## The Problem The cache `writeFragment` API returns a ref to the created or modified object. The client API is similar in every respect, but fails to return the result...
Hey folks π We've just come across the [`warnAboutDataLoss`](https://github.com/apollographql/apollo-client/blob/b214dd1d31cdfe6b5477bb5887a7d9615a302b27/src/cache/inmemory/writeToStore.ts#L750) message while developing a feature (thanks for the detailed message btw π ) but it got me thinking. It would be...
When one has a `read` function for a client directive field, at least with the `MockedProvider`, the query hook will always return `undefined` once before returning the values. This is...