Steps to reproduce:
- clone this repository
- install dependencies
yarn install
- execute
yarn start
- open http://localhost:3000 and see the server crash with an "Invariant violation"
Next:
- open
src/index-server.tsx
andsrc/index-client.tsx
and remove thepossibleTypes
parameter from theInMemoryCache
constructor - execute
yarn start
again - open http://localhost:3000 and see the apollo error being rendered