itcast 6e512b8ce6 aaaa 10 luni în urmă
..
dist 6e512b8ce6 aaaa 10 luni în urmă
src 6e512b8ce6 aaaa 10 luni în urmă
LICENSE 6e512b8ce6 aaaa 10 luni în urmă
README.md 6e512b8ce6 aaaa 10 luni în urmă
package.json 6e512b8ce6 aaaa 10 luni în urmă

README.md

printWithReducedWhitespace

Prints a GraphQL AST with a minimal amount of whitespace. Consider using the stripIgnoredCharacters function from graphql instead of this function.

Usage

import { printWithReducedWhitespace } from "@apollo/utils.operationregistrysignature";

const signature = operationRegistrySignature(
  parse(`#graphql
    query Foo {
      bar
    }
  `),
  "Foo",
  { preserveStringAndNumericLiterals: true },
);