Skip to content

Demonstrate an issue where subsequent queries overwrite nested objects in cache

Notifications You must be signed in to change notification settings

olgertse/apollo-client-issue-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apollo Client Issue Reproduction

Welcome! If you are here then you were likely referred to this repo when reporting an error to apollographql/apollo-client. The core team is invested in making the best client for GraphQL possible, so when you hit an error it is important to the team that the error is resolved as soon as possible.

Unfortunately, describing an error in GitHub is often not enough to truly understand the reported issue. By creating a small reproduction test case using this template repo the Apollo Client team will be able to identify and fix your error much faster then they could without.

This repo was created with create-react-app for a great developer experience. If you are not using React then a small reproduction case with your framework of choice would go a long way.

To make changes in the GraphQL schema make sure to look at the ./src/graphql folder where we define a GraphQL schema using GraphQL.js which will run in the browser.

Reproduction Creation Steps

  1. Fork this repository to your GitHub account.
  2. After cloning, install all dependencies with npm install.
  3. Start the development server with npm start.
  4. Make the changes that will reproduce this error locally.
  5. When ready, push your changes back to GitHub and let the apollo-client team know where they can be found.

About

Demonstrate an issue where subsequent queries overwrite nested objects in cache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published