Skip to content

Commit

Permalink
Update doc with partial feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
frandiox committed Jan 25, 2024
1 parent 6b9582c commit b956407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vscode-graphql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ module.exports = {
Notice that `documents` key supports glob pattern and hence `["**/*.graphql"]`
is also valid.

Normally, you want to point your `documents` to different files per project to ensure only one schema is used for the queries. However, you can also mix queries for different schemas in the same file by adding a `#graphql:<suffix>` comment to the query that matches the `languageService.gqlTagOptions.annotationSuffix` for the project:
Normally, you would point your `documents` in each project to different files to ensure that only one schema is used for the queries. However, you can also mix queries for different schemas into the same file by adding a `#graphql:<suffix>` comment to each query, matching the `languageService.gqlTagOptions.annotationSuffix` for the project:

```ts
// file.js
Expand Down

0 comments on commit b956407

Please sign in to comment.