Similar to schema loading - but meant to use for GraphQL documents (query/mutation/subscription/fragment).
Any input provided as a source will be recognized by utils automatically.
It also extracts usages of
gql from code files using
loadDocuments return an array of document sources and these source objects have the following structure;
You can learn more about loaders to load documents from different sources.