@n1ru4l/graphql-codegen-relay-plugin

0.0.1-alpha.3 • Public • Published

@n1ru4l/graphql-codegen-relay-plugin

This is alpha software, use it at your own risk, functionality might change!

Description

GraphQL Codegen Plugin for bringing the benefits of relay to react-apollo.

Current List of Features

Install Instructions

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

Usage Instructions

codegen.yml

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

Readme

Keywords

none

Package Sidebar

Install

npm i @n1ru4l/graphql-codegen-relay-plugin

Weekly Downloads

1

Version

0.0.1-alpha.3

License

MIT

Unpacked Size

8.03 kB

Total Files

4

Last publish

Collaborators

  • n1ru4l