1.0.3 • Published 5 years ago
identity-tag v1.0.3
Introduction
A pass through tagged template literal because I want to format GraphQL queries without using gql or the comment (/* GraphQL */
) syntax to hint VSCode + any GraphQL prettifier.
Usage
import { identityTag as gql } from "identity-tag";
VSCode + any GraphQL prettifier like to prettify this now.
const query = gql`
{
id
}
`;