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

[VSCode] "Go to Definition" is broken when using a localSchemaFile #726

Closed
rylanc opened this issue Nov 19, 2018 · 0 comments
Closed

[VSCode] "Go to Definition" is broken when using a localSchemaFile #726

rylanc opened this issue Nov 19, 2018 · 0 comments

Comments

@rylanc
Copy link
Contributor

rylanc commented Nov 19, 2018

When I configure my apollo.config.js with a localSchemaFile and select "go to definition" on a query field, I get the following error:
image

I would expect it to navigate to the definition of the field in the local schema file.

My config:

module.exports = {
  client: {
    service: {
      name: 'local',
      localSchemaFile: './app/graphql/schema.graphql',
    },
    includes: ['frontend/javascripts/**/*.{ts,tsx,js,jsx,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

1 participant