0.0.7 • Published 2 years ago

generate-graphql-operations v0.0.7

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

generate-graphql-operations

Generates GraphQL queries/mutations/subscriptions (gql files) based on a GraphQL schema

Currently it only supports typescript imports

Intallation

npm i generate-graphql-operations

Usage

generate-gql-ops --path [path_of_generated_file] --url [url_of_graphql_server]

OR (untested) generate-gql-ops --path [path_of_generated_file] --file [schema_file_in_json_or_graphql]