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 containing the built-in definitions supported by Apollo Kotlin.
TODO: should this be deprecated? See also the comment in WSchema. It's not clear what value there is in converting from SDL to JSON.
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 built-in definitions supported by Apollo Kotlin to the GQLDocument
Internal-only. Copies this code using the given children