15270821319 4e5c5d37f9 初步设计数据库,注册登录 há 10 meses atrás
..
dist 4e5c5d37f9 初步设计数据库,注册登录 há 10 meses atrás
src 4e5c5d37f9 初步设计数据库,注册登录 há 10 meses atrás
LICENSE 4e5c5d37f9 初步设计数据库,注册登录 há 10 meses atrás
README.md 4e5c5d37f9 初步设计数据库,注册登录 há 10 meses atrás
package.json 4e5c5d37f9 初步设计数据库,注册登录 há 10 meses atrás

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