graphql-api-diff

a tool to generate schema file from GraphQL endpoint, and compare it with former version.

Features

Getting Started

  • git clone this repository.
  • install: yarn install
  • edit config.json with the remote GraphQL API info.
  • build: yarn build
  • start: node .

note you need to run this tool twice to get the diff reporting, the 1st time to store old version from remote GraphQL schema, and the 2nd time you will get new version from remote GraphQL schema and also schema changes.

License

MIT.