@graphql-inspector/cli

Compare GraphQL schemas and detect breaking changes.

npmmacoslinuxwindows
Try with needOr install directly
Source

About

Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.

Commands

graphql-inspector

Examples

find breaking changes between two GraphQL schemas$ graphql-inspector diff schema-old.graphql schema-new.graphql
validate GraphQL query against schema$ graphql-inspector validate schema.graphql query.graphql
find duplicate types and similar schemas$ graphql-inspector similar schema.graphql
compare GraphQL schema from remote endpoints$ graphql-inspector diff https://api.example.com/graphql https://staging.example.com/graphql
generate detailed schema documentation report$ graphql-inspector introspect https://api.example.com/graphql --write schema.graphql