vscode-graphql
vscode-graphql copied to clipboard
Multiple schemas
I have a folder structure like this: workspace --app ----app1 ------.graphqlconfig ------gql-schema.json ----app2 ------.graphqlconfig ------gql-schema.json
The contents of .graphqlconfig is: { "schemaPath": "gql-schema.json" }
I would like to get grahpql Intellisense under app1 only for its schema when editing a *.gql file, and similarly for app2. This does work when I open a new VSCode window with app1 or app2 as the root folder, it does not work when I open the "workspace" folder.
Any idea on how I can accomplish this?