|  | 10 月之前 | |
|---|---|---|
| .. | ||
| dist | 10 月之前 | |
| src | 10 月之前 | |
| LICENSE | 10 月之前 | |
| README.md | 10 月之前 | |
| package.json | 10 月之前 | |
Prints a GraphQL AST with a minimal amount of whitespace. Consider using the
stripIgnoredCharacters function from graphql instead of this function.
import { printWithReducedWhitespace } from "@apollo/utils.operationregistrysignature";
const signature = operationRegistrySignature(
  parse(`#graphql
    query Foo {
      bar
    }
  `),
  "Foo",
  { preserveStringAndNumericLiterals: true },
);