A JavaScript template literal tag that parses GraphQL queries. Latest version: 2.12.6, last published: 3 years ago. Start using graphql-tag in your project by running `npm i graphql-tag`. There are 5358 other projects in the npm registry using graphql-ta
[](https://badge.fury.io/js/graphql-tag-ts) pablosz •0.1.16•5 years ago•2dependents•MITpublished version0.1.16,5 years ago2dependentslicensed under $MIT
gqlA JavaScript template literal tag that parses GraphQL query strings into the standard GraphQL AST. /loaderA webpack loader to preprocess queries graphql-tagusesthe referencegraphqllibraryunder the hood as a peer dependency, so in addition to installing this module, you'll also have to insta...
The usage is the same as usinggraphql-tagdirectly, the only difference is that you have to importgqlfrom the macro now: importgqlfrom'graphql-tag.macro';constquery=gql`query {hello {world}}`; Readme Keywords none Install npm i@iotv/graphql-tag.macro ...