{"repo":"Quramy/ts-graphql-plugin","free":true,"listed":false,"github":"https://github.com/Quramy/ts-graphql-plugin","clone":"git clone https://github.com/Quramy/ts-graphql-plugin.git","description":"TypeScript Language Service Plugin for GraphQL developers","language":"TypeScript","stars":757,"topics":["typescript","graphql","language-server","plugin"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"ts-graphql-plugin Provides functions to help TypeScript GraphQL client development including auto completion, query validation, type generation and so on. This plugin has the following features: - As TypeScript Language Service extension: - Completion suggestion - Get GraphQL diagnostics - Go to fragment definition - Display GraphQL quick info within tooltip - As CLI - Generate ts type files from your GraphQL operations in your TypeScript sources - Extract or validate GraphQL operations in your TypeScript sources - As webpack plugin - Transform your queries to GraphQL AST object statically ToC - Getting started - CLI Usage - typegen command - extract command - validate command - report command - Plugin options - schema - tag - exclude - enabledGlobalFragments - localSchemaExtensions - typegen.addons - Built-in Type Generator Addons - typed-query-document - webpack custom transformer - webpack plugin options - tsconfigPath optional - Transformer options - removeFragmentDefinitions optional - documentTransformers optional - Available editors - VSCode - Contributing - License Getting started First, confirm that your project has TypeScript and graphql(v15.x.0 or later). To install this plugin, execute the following: And configure plugins section in your tsconfig.json, for example: It's ready to go. Launch your TypeScript IDE. CLI Usage If you install this plugin, a short alias tsgql is also available instead of ts-graphql-plugin . Available commands are typegen , extract , valida","default_branch":null,"files":null,"tree":[],"storefront":"/r/Quramy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Quramy/ts-graphql-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}