graphql / vscode-graphql

MIGRATED: VSCode GraphQL extension (autocompletion, go-to definition, syntax highlighting)
https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql
MIT License
557 stars 71 forks source link

useSchemaFileDefinitions doesn't seem to work anymore #317

Closed Sytten closed 2 years ago

Sytten commented 3 years ago

Actual Behavior

When enabling useSchemaFileDefinitions, it doesn't go in the code definitions.

Expected Behavior

When useSchemaFileDefinitions is enabled, go to definition opens the source code.

Steps to Reproduce the Problem Or Description

  1. Create a monorepo with yarn
  2. Create a a package in packages for the api
  3. Create a basic apollo schema-first schema
  4. Use codegen to generate the schema
  5. Point the extension to both the schema and the document
  6. Control-click on one item and you get redirected to the schema

Specifications

Logs Of TS Server || GraphQL Language Service

acao commented 2 years ago

I changed this setting. now SDL works by default, and the remote schema cacheing needs to be enabled