1.2.0 • Published 6 years ago
graphql-template v1.2.0
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);