|
|
vor 10 Monaten | |
|---|---|---|
| .. | ||
| dist | vor 10 Monaten | |
| src | vor 10 Monaten | |
| LICENSE | vor 10 Monaten | |
| README.md | vor 10 Monaten | |
| package.json | vor 10 Monaten | |
Prints a GraphQL AST with a minimal amount of whitespace. Consider using the
stripIgnoredCharacters function from graphql instead of this function.
import { printWithReducedWhitespace } from "@apollo/utils.operationregistrysignature";
const signature = operationRegistrySignature(
parse(`#graphql
query Foo {
bar
}
`),
"Foo",
{ preserveStringAndNumericLiterals: true },
);