apollographql / apollographql/apollo-client-devtools
VSCode integration issue
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 172
- Avg merge
- 10m
- Merged PRs (30d)
- 8
Description
Error on Queries tab:
```
ApolloError: Cannot read properties of undefined (reading 'info')
ApolloError: Cannot read properties of undefined (reading 'info')
at new ApolloError (https://file+.vscode-resource.vscode-cdn.net/Users/jerelmiller/code/apollographql/vscode-graphql/lib/panel.js:54952:34)
at https://file+.vscode-resource.vscode-cdn.net/Users/jerelmiller/code/apollographql/vscode-graphql/lib/panel.js:54401:47
at both (https://file+.vscode-resource.vscode-cdn.net/Users/jerelmiller/code/apollographql/vscode-graphql/lib/panel.js:60092:25)
at https://file+.vscode-resource.vscode-cdn.net/Users/jerelmiller/code/apollographql/vscode-graphql/lib/panel.js:60081:34
at new Promise ()
at Object.then (https://file+.vscode-resource.vscode-cdn.net/Users/jerelmiller/code/apollographql/vscode-graphql/lib/panel.js:60080:24)
at Object.next (https://file+.vscode-resource.vscode-cdn.net/Users/jerelmiller/code/apollographql/vscode-graphql/lib/panel.js:60094:47)
at notifySubscription (https://file+.vscode-resource.vscode-cdn.net/Users/jerelmiller/code/apollographql/vscode-graphql/lib/panel.js:154166:26)
at onNotify (https://file+.vscode-resource.vscode-cdn.net/Users/jerelmiller/code/apollographql/vscode-graphql/lib/panel.js:154205:11)
at SubscriptionObserver2.next (https://file+.vscode-resource.vscode-cdn.net/Users/jerelmiller/code/apollographql/vscode-graphql/lib/panel.js:154245:13)
```
### Additional details
Happened after stopping/restarting the server when on a 1:1 call together.
### `@apollo/client` version
### Apollo Client Devtools version
4.18.6 (VSCode)
Contributor guide
Research direction
Start with the Queries tab and the bundled lib/panel.js stack trace, using Apollo Client Devtools 4.18.6 in VSCode. Reproduce the failure by stopping and restarting the server during a 1:1 call; done means the Queries tab no longer raises the reported ApolloError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100