LSP Server config doesn't work with customFetch
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.9k
- Avg merge
- 22h 45m
- Merged PRs (30d)
- 70
Description
## Actual Behavior
When using a remote schema (with a custom fetch in my case) autocomplete fails silently. When I generate a schema from introspection from that same schema definition with `graphql-cli` and use that, autocomplete works again.
My config (for [Prismic](https://prismic.io)
```yaml
schema:
https://heybokeh.cdn.prismic.io/graphql:
customFetch: 'codegen-prismic-fetch'
documents: './src/**/*.{graphql,ts,tsx}'
...
```
## Expected Behavior
This extension should work with remote schemas defined in graphql config
## Steps to Reproduce the Problem Or Description
1. Specify remote schema with custom fetch in graphql config
2. Try write queries, see that autcomplete doesn't work
## Specifications
- GraphQL for VSCode Extension Version: v0.3.18
- VSCode Version: 1.60.2
- OS Name: macOS
- OS Version: 11.4
Contributor guide
Assessment
This issue has not been assessed yet.