apollo-client
apollo-client copied to clipboard
:rocket: A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
Dev tools has a new syntax and deprecated the old `connectToDevTools`. However, the deprecation was implemented with `|| connectToDevTools` instead of `?? connectToDevTools` which results in `devtools?.enabled` to be overwritten...
### Issue Description This came up in https://discord.com/channels/1022972389463687228/1293325564110966784/1293325564110966784 `result.errors` should be `GraphQLFormattedError[]`, but ends up as `ApolloError` here. ### Link to Reproduction https://github.com/apollographql/apollo-client/blob/c266f006fc93a14a693e490aed2fd719844f348e/src/react/hooks/useMutation.ts#L211-L212 ### Reproduction Steps _No response_ ### `@apollo/client`...
### Issue Description https://www.apollographql.com/docs/react/pagination/cursor-based/ provides merge & read functions (to optimize the cache during paging while also excluding the paging args via keyArgs) that are invalid. The functions assume the...
Hello, I get **Store reset while query was in flight (not completed in link chain**) after cache.evict called. I have an Angular 16 Project with "@apollo/client": "^3.11.0", On Mutation, I...
This is a finished version of the alternative implementation of `UnwrapFragmentRefs`, which was rolled back in [`314d87f` (#12064)](https://github.com/apollographql/apollo-client/pull/12064/commits/314d87fc2f63991c0520fa3935917e82f82b4f35). I wouldn't immediately get this merged - we should benchmark both of...
There are no existing feature requests related to revalidating data on route change in a React client for Next.js in the apollographql/apollo-client repository. I will now create a new issue...
Consider the following query — ```gql query GetMarketplaceAppListingById { marketplaceApp(appId: 1215460) { versions(first: 1) { edges { node { deployment { compatibleProducts { id ...Fragment1 } } } } }...
Hello Apollo Team, we use `"@apollo/client": "3.11.8"` for making gql calls. In our tests, we mock the setup via msw. After we migrated to msw 2.x and vitest, the tests...
The Guild is open to the idea of providing support for `@unmask` in GraphQL Codegen using the `typescript-operations` plugin since we are adopting their fragment masking types. Let's put a...
Base branch for the upcoming 3.12 release