Skip to content

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

@rylanc

Description

@rylanc

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}'],
  },
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions