This example uses a single .graphqlconfig
to setup two schemas that both rely on
types in a shared folder.
Things to note:
- The
shared
folder is configured as the first project with includes to ensure schema discovery is isolated within the shared folder. - The
alpha
andbeta
schemas both reference the shared folder via their includes. - Using a single config in the root is required for this structure as GraphQL files find their associated
.graphqlconfig
by looking in their current and parent directories.