GraphQL Inspector compares schemas, classifies changes, validates operations against a schema, and reports coverage. It runs as a CLI, CI job, GitHub Action, or embedded library.
Overview
GraphQL Inspector helps teams keep GraphQL schemas and client operations aligned over time. It compares two schema versions and lists each difference, labeling changes as breaking, dangerous, or safe so reviewers can judge impact before release.
Beyond diffing, it validates documents and fragments against a schema, finds similar or duplicated types, and measures schema coverage from operations in use. Schema change notifications can integrate with GitHub, continuous integration, Slack, Discord, webhooks, or custom HTTP endpoints.
The same checks are available through multiple interfaces: a command-line tool, a GitHub Action that can annotate pull requests, CI-friendly CLI usage, and programmatic functions in the core package for custom tooling. It can also serve a GraphQL endpoint with faked data and GraphiQL for exploration.
GraphQL Inspector is part of The Guild’s Hive ecosystem and powers change detection in Hive’s schema registry. A Docker image is provided for containerized runs.
Key features
- Schema diff with change classification
- Operation and fragment validation
- GitHub Action for pull requests
- CLI for CI and local use
- Schema coverage from operations
- Duplicate and similar type detection
- Schema change notifications
- Programmatic core API
Use cases
- Prevent breaking GraphQL schema releases
- Validate client operations in CI
- Pull request schema review on GitHub
- Track schema coverage across services
- Custom schema governance automation