graphql / vscode-graphql

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

Absolute paths don't work for `documents` #238

Closed acao closed 2 years ago

acao commented 4 years ago

Actual Behavior

documents: ["/path/to/file.graphql", "./.cache/file.graphql"]

absolute path document is not available in definitions index, but relative path still works

Expected Behavior

documents: ["/path/to/file.graphql", "./.cache/file.graphql"]

both of these files should load. so should

documents: ["/path/to/*.graphql", "./.cache/file.graphql"]

Steps to Reproduce the Problem Or Description

Specifications