overwrite: true
schema: "http://localhost:8000/___graphql"
documents: ["src/pages/**/*","src/graphql/**/*","src/hooks/**/*"]
config:
  namingConvention:
    enumValues: keep
generates:
  src/graphql/generated/graphql.ts:
    plugins:
      - "typescript"
      - "typescript-operations"
  ./graphql.schema.json:
    plugins:
      - "introspection"
hooks:
  afterOneFileWrite:
    - prettier --write
