Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up Intellisense for with localSchemaFile is broken #101

Open
alex-tang-carta opened this issue Jun 14, 2023 · 1 comment
Open

Setting up Intellisense for with localSchemaFile is broken #101

alex-tang-carta opened this issue Jun 14, 2023 · 1 comment

Comments

@alex-tang-carta
Copy link

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
@kristof-mattei
Copy link

This works:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants