@graphql-inspector/cli

GraphQL schema comparison and validation CLI tool

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

Compare two GraphQL schemas and detect breaking changes$ graphql-inspector compare old-schema.graphql new-schema.graphql
Validate a GraphQL document against a schema$ graphql-inspector validate schema.graphql query.graphql
Find similar types in a GraphQL schema$ graphql-inspector similar schema.graphql