I’m generating an introspection schema from a /graphql endpoint using import {getIntrospectionQuery} from 'graphql';.
If I save that result as a json file and use it to power apollo vscode, then I get intellisense on all my graphql queries, yay! But… with the latest release of subscriptions I wanted to try them out and see what’s available.
I try and trigger intellisense within a subscription block:
subscription MySubscription() {
// Here...
}
and nothing happens. At least, I don’t get any of the normal suspects.
In the Apollo GraphQL output window, every time I try to trigger intellisense I get:
Have since switched to using our own dgraph cluster from slash graphql, and upgraded to the latest version of dgraph 20.0.7… still getting the same issue!