15270821319 4e5c5d37f9 初步设计数据库,注册登录 10 mesiacov pred
..
dist 4e5c5d37f9 初步设计数据库,注册登录 10 mesiacov pred
src 4e5c5d37f9 初步设计数据库,注册登录 10 mesiacov pred
LICENSE 4e5c5d37f9 初步设计数据库,注册登录 10 mesiacov pred
README.md 4e5c5d37f9 初步设计数据库,注册登录 10 mesiacov pred
package.json 4e5c5d37f9 初步设计数据库,注册登录 10 mesiacov pred

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 },
);