fgs

Fetch GraphQL Schema from a GraphQL HTTP Endpoint from grphql-config that is Relay (rust) aware.

MIT License

Stars
7
Committers
1

fgs

Fetch GraphQL Schema fetches a remote GraphQL schema to a local file.

This is free to use software, but if you do like it, consisder supporting me ❤️

💡 Features

  • graphql-config multi-project integration
  • relay (rust) aware
  • json/sdl output

⚙️ Install

npm install fgs

🚀 Usage

uses graphql-config to find the schema endpoint

# fetch schema for endpoint `next`
$ fgs

# fetch schema for endpoint `my-env`
$ fgs --endpoint my-env

# fetch schema into sdl as json
$ fgs --json

License

MIT © Marais Rossouw

Badges
Extracted from project README
sponsor me buy me a coffee