Skip to content

rodionovp/graphql-schema-compatibility-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

graphql-schema-compatibility-checker

A simple tool that checks if GraphQL schema is backward compatible.

Installation

Install ammonite

$ sudo curl -L -o /usr/local/bin/amm https://git.io/vAcDx && sudo chmod +x /usr/local/bin/amm  

Usage

Check two schemas using retrospection query

$ ./check-schema http://gdom.graphene-python.org/graphql http://gdom.graphene-python.org/graphql

Check two local schemas in IDL format

$ ./check-schema ./test/old-schema.graphql ./test/new-schema.graphql

Expected output:

 * Field `id` was removed from `Repository` type

About

Checks if version of GraphQL schema is backward compatible

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages