@graphql-inspector/ci

Compare GraphQL schemas and detect breaking changes in your API

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

check if my schema changes break the api$ graphql-inspector diff schema-old.graphql schema-new.graphql
validate graphql queries against my schema$ graphql-inspector validate schema.graphql queries.graphql
find duplicate or similar types in schema$ graphql-inspector similar schema.graphql
introspect remote graphql api and save schema$ graphql-inspector introspect https://api.example.com/graphql --write schema.graphql
lint graphql schema for best practices$ graphql-inspector lint schema.graphql