|
|
пре 10 месеци | |
|---|---|---|
| .. | ||
| dist | пре 10 месеци | |
| src | пре 10 месеци | |
| LICENSE | пре 10 месеци | |
| README.md | пре 10 месеци | |
| package.json | пре 10 месеци | |
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 },
);