Files
Home_Buying_App/node_modules/@apollo/utils.printwithreducedwhitespace/README.md
jackbeeby b412dfe2ca Initialisation
Added the packages and files for the backend server
2024-12-15 17:48:45 +11:00

578 B

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