docs
docs copied to clipboard
think about update `graphql-language-service` to v4
Because in <OperationsEditor /> with graphql-language-service v4 when we select a field that has selection subfields curly brackets { and } add automatically, in v3 – not 😔 Look at the video
https://user-images.githubusercontent.com/7361780/145635521-fc7a14c2-626b-4145-baf0-1df89262105b.mov
Things to make
- import this enum directly from
graphql-language-serviceasCompletionItemKind -
LanguageServiceclass is no longer present ingraphql-language-servicev3, install and import him frommonaco-graphqlpackage
There are also breaking changes that need to be fixed
-
LanguageService.getSchemaandLanguageService.setSchemamethods was removed, now there aregetSchemaForFileandupdateSchemamethods -
LanguageService.getDiagnosticsis now sync