graphql-codegen-join-documents

1.0.0 • Public • Published

graphql-codegen-join-documents

A plugin for GraphQL Code Generator to join GraphQL queries/mutations/subscriptions together into a single file.

Usage

Install the plugin:

npm add -D graphql-codegen-join-documents

Enter the following into codegen.yaml:

schema: schema.graphql
documents: src/**/*.gql

generates:
  queries.gql:
    plugins:
      - graphql-codegen-join-documents

Run codegen:

npx graphql-codegen

Readme

Keywords

none

Package Sidebar

Install

npm i graphql-codegen-join-documents

Weekly Downloads

3

Version

1.0.0

License

none

Unpacked Size

904 B

Total Files

3

Last publish

Collaborators

  • pytal