vscode-graphql icon indicating copy to clipboard operation
vscode-graphql copied to clipboard

Setting up Intellisense for with localSchemaFile is broken

Open alex-tang-carta opened this issue 2 years ago • 1 comments

Having issues getting VSCode extension (apollographql.vscode-apollo) to find my graphql file. Am I missing some configuration?

apollo.config.cjs file:

module.exports = {
    client: {
        service: {
            name: "default",
            localSchemaFile: './src/schema.graphql'
        },
    },
};

folder structure:

- src/
       - schema.graphql
- apollo.config.cjs
image

alex-tang-carta avatar Jun 14 '23 19:06 alex-tang-carta

This works:

module.exports = {
    client: {
        name: "default",
        localSchemaFile: './src/schema.graphql'
    },
};

kristof-mattei avatar Jun 28 '23 19:06 kristof-mattei