Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.44 KB

File metadata and controls

38 lines (29 loc) · 1.44 KB

@n1ru4l/graphql-codegen-relay-optimizer-plugin CircleCI

Description

GraphQL Codegen Plugin for bringing the benefits of Relay to GraphQL Codegen.

Current List of Features

Install Instructions npm

yarn add -D -E @n1ru4l/graphql-codegen-relay-optimizer-plugin

Usage Instructions

codegen.yml

overwrite: true
schema: schema.graphql
generates:
  src/generated-types.tsx:
    documents: "src/documents/**/*.graphql"
    config:
      skipDocumentsValidation: true
    plugins:
      - "@n1ru4l/graphql-codegen-relay-optimizer-plugin"
      - "typescript"
      - "typescript-operations"
      - "typescript-react-apollo"