apollographql / apollo-tooling

✏️ Apollo CLI for client tooling (Mostly replaced by Rover)
https://apollographql.com
MIT License
3.04k stars 467 forks source link

Setting up Intellisense for with localSchemaFile is broken #2685

Open alex-tang-carta opened 1 year ago

alex-tang-carta commented 1 year ago

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 commented 1 year ago

Hey all, Do we have support for *.cjs file? I can see it working with *.js