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

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