graphql-template
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

grahpql-template

$ yarn add grahpql-template
import GTemplate from 'graphql-template';

const templateString = GTemplate({
  type: 'mutation',
  name: 'deleteUser',
  values: [{ id: 'Int!' }],
});

const DELETE_USER = gql(templateString);

Readme

Keywords

none

Package Sidebar

Install

npm i graphql-template

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

4.97 kB

Total Files

6

Last publish

Collaborators

  • bhram