Skip to content

Commit

Permalink
fix: correct graphql.config.js (#10582)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Krick <[email protected]>
  • Loading branch information
mattkrick authored Dec 19, 2024
1 parent 4581783 commit af1b034
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"esbenp.prettier-vscode",
"github.vscode-github-actions",
"meta.relay",
"yzhang.markdown-all-in-one"
"yzhang.markdown-all-in-one",
"GraphQL.vscode-graphql",
"GraphQL.vscode-graphql-syntax"
]
}
10 changes: 6 additions & 4 deletions graphql.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
module.exports = {
projects: {
Parabol: {
schemaPath: './packages/server/graphql/public/schema.graphql',
name: 'Parabol GraphQL Schema',
includes: ['*']
server: {
schema: './packages/server/graphql/public/schema.graphql',
documents: './packages/server/**/*',
// not sure why this is necessary, but it picks up relay fragments on the client,
// which are handled by the relay extension
exclude: './packages/client/**/*'
}
}
}

0 comments on commit af1b034

Please sign in to comment.