Document generated client
Examples -> Document
The document
method is used to create whole GraphQL documents.
There are other more targeted ways of sending GraphQL requests when you don't need to author the entire document.
- If you only need to work with a single operation type then use
$batch
. - If you only need to work with a single root field then use root field methods.