Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/documentssrcfunctionsprintExecutableGraphQLDocument

Function: printExecutableGraphQLDocument()

printExecutableGraphQLDocument(document): string

Defined in: packages/documents/src/print-executable-graphql-document.ts:9

Print an executable document node definition in a stable way. All the nodes are sorted by name and the white space is reduced.

Parameters

document

DocumentNode

Returns

string