What is GraphQL Inspector?#
GraphQL Inspector is a set of tools to help you better maintain and improve GraphQL API as well as GraphQL consumers.
GraphQL Inspector outputs a list of changes between two GraphQL schemas. Every change is precisely explained and marked as breaking, non-breaking or dangerous. It will help you validate documents and fragments against a schema and even find similar or duplicated types.
Use GraphQL Inspector however you like:
The way GraphQL Inspector is built enables you to use everything through a CLI or each feature separately using one of many available packages. There's also a GitHub Application that you can install and use within seconds. If you're fan of GitHub Actions, we got you covered too.
GitHub Application and Action#
GraphQL Inspector GitHub Application is open-sourced, we host it so you don't have to.
Command Line Tool#
GraphQL Inspector has a CLI and also a programmatic API, so you can use it however you want to and even build tools on top of it.
Detect changes between GraphQL Schemas#
Prevent breaking changes and get a list of safe and dangerous modifications. Everything with helpful explanation of why changes are breaking or dangerous to introduce.
Keep Operations and Fragments in line with GraphQL Schema#
Validates Operations and Fragments against a Schema and looks for deprecated usage. Inspector lets you write your own validation rules.
GitHub Application and GitHub Action#
Use our Application and get everything up and running within few seconds. If you prefer, you can have you own self-hosted GraphQL Inspector service or deploy it with Docker. You can also simply use our GitHub Action.
Find duplicated types#
Finds similar / duplicated types across your GraphQL Schema.
Schema coverage based on Operations and Fragments. Find out how many times types and fields are used in your application and clean up your GraphQL Schema accordingly.
Serve faked GraphQL API#
Serves a GraphQL server with faked data and GraphiQL
✅ Serving the GraphQL API on http://localhost:4000/
Introspect GraphQL API#
Introspects a GraphQL API and writes the introspection result to a file.
✅ Introspection result saved to schema.json