1.1.1 • Published 3 years ago

gql-schema-generator v1.1.1

Weekly downloads
97
License
MIT
Repository
-
Last release
3 years ago

🏭 GQL Schema Generator

Being able to generate a local schema SDL file from your GQL api allows you to more easily generate types for use in your application, you can even use a package like this.

It can also be helpful to generate a schema from a local schema json file, so this app now supports this too.

If you're like me and you like to validate data as it comes into your application, you also can use those types alongeside packages like Decoders

Getting Started

yarn global add gql-schema-generator

npm install -g gql-schema-generator

and run:

generate-schema -u [url of graphql endpoint] -o [output file name].gql

generate-schema-from-file -i [path to json file.json] -o [output file name].gql
1.1.1

3 years ago

1.1.0

3 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago