0.1.1 • Published 2 years ago

schema-to-graphql v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

schema-to-graphql

After reading the schema file of nexus, it creates a graphql file.

install

yarn add -D schema-to-graphql

usage

Create a stg.json file in root. schema: generated nexus schema file dest: destination folder for graphql

{
  "overwrite": false,
  "schema": "./test/schema.graphql",
  "dest": "./test/gql",
  "alias": {
    "Post": ["Draft"]
  }
}

command

npx stg [--config stg.json]
0.1.1

2 years ago

0.1.0

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago