Socket
Book a DemoInstallSign in
Socket

generate-graphql-operations

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generate-graphql-operations

Genereate graphql queries, mutations and subscriptions based on a schema

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

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]

Keywords

graphql

FAQs

Package last updated on 22 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts