graphql-inspector

Validate GraphQL schemas, detect changes, and validate operations

brewmacoslinux
Try with needOr install directly
Source

About

Validate schema, get schema change notifications, validate operations, and more

Commands

graphql-inspector

Examples

Compare two GraphQL schemas to detect breaking changes$ graphql-inspector diff schema-old.graphql schema-new.graphql
Validate a GraphQL schema for correctness$ graphql-inspector validate schema.graphql
Validate GraphQL operations against a schema$ graphql-inspector validate schema.graphql operations.graphql