Specifying Documents
GraphQL Config supports not only a schema but GraphQL Operations and Fragments too.
Multiple Files
You can specify a list of files:
documents:
- ./documents/foo.graphql
- ./documents/bar.graphql
- ./documents/baz.graphqlUse a glob pattern to find and include operations and fragments:
documents: ./documents/*.graphqlGraphQL Config reads any matching files and parses them into DocumentNode objects.
Last updated on