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