Grafbase Lint Command

Lints a GraphQL schema.

Usage:

grafbase lint [SCHEMA]

Arguments:

  • [SCHEMA]: Path to the schema file to lint.

Lint a schema file:

grafbase lint my-schema.graphql

Lint a schema from standard input:

grafbase introspect http://localhost:4000/graphql | grafbase lint