GQLDocument
The top level node in a GraphQL document. This can be a schema document or an executable document (or something else if need be)
See parseAsGQLDocument for how to obtain a GQLDocument.
Properties
Functions
Internal-only. Copies this code using the given children
Returns a "full schema" document. Full schema documents are for use by clients and other tools that need to know what features are supported by a given server. They include builtin directives and merge all type extensions
Outputs a schema document to SDL. For executable documents, use toUtf8()
Validates the given document as an executable document.
Validate the given document as a schema:
Add builtin definitions from the latest spec version to the GQLDocument
Internal-only. Copies this code using the given children