0.1.3 • Published 3 months ago

gqls-generator v0.1.3

Weekly downloads
17
License
ISC
Repository
github
Last release
3 months ago

gqls-generator

gqls-generator is a package to generate client queries and mutations from GraphQL schema or remote server

Usage

Usage: npx gqls-generator [ENDPOINT or PATH to graphql schema] [OPTIONS]

Fetch and print the GraphQL schema from a GraphQL HTTP endpoint
(Outputs schema in IDL syntax by default)

Options:
 -h    Add a custom header (ex. 'API-KEY=ABC123 AUTH=SJF68dFsx')
 -m    Add a fetch method (POST or GET) 

Example from local schema:

npx gqls-generator schema.graphql

Example from remote server:

npx gqls-generator http://192.168.31.184:4000/graphql

Select data saving format:

Split by return types

All in one index.js file

Split by return types

Split by queries and mutations

0.1.3

3 months ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago