#graphql-schema #queries #validating #cli #file #file-path #content

app graphql-validate

A CLI for validating GraphQL schemas and queries

4 releases (2 breaking)

0.3.1 Nov 25, 2018
0.3.0 Nov 25, 2018
0.2.0 Nov 25, 2018
0.1.0 Nov 25, 2018

#5 in #validating

MIT license

4KB

graphql-validate

A CLI for validating GraphQL schemas and queries.

Install

  1. Install Rust
  2. Run cargo install graphql-validate

Usage

USAGE:
    graphql-validate <file>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <file>    Path to the graphql file. Can be a schema or a query. The type will be inferred from the contents.

Dependencies

~7–15MB
~192K SLoC