apollographql / apollographql/vscode-graphql
vscode plugin should offer "reload schema" as a quick fix for validation issues
- Dominant language
- TypeScript
- Stars
- 78
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the VSCode plugin only loads the GraphQL schema on startup and when explicitly requested to reload via the `Apollo: Reload Schema` command.
An outdated schema can cause confusing `GraphQL: Validation` problems. It would be great if reloading the schema was presented as a "Quick fix" for these problems!
(It also would be nice if the schema was periodically reloaded, but that's an orthogonal issue, since you might still want to disable automatic reloads or something.)
┆Issue is synchronized with this [Jira Task](https://apollographql.atlassian.net/browse/NEBULA-1072) by [Unito](https://www.unito.io)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the VS Code validation diagnostics and the existing `Apollo: Reload Schema` command in the extension. Add the requested quick-fix behavior for validation problems, and verify that choosing it reloads the schema without changing the separate periodic-reload discussion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100