You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Screen.Recording.2021-12-10.at.16.34.35.mov
Things to make
import this enum directly from graphql-language-service as CompletionItemKind
LanguageService class is no longer present in graphql-language-service v3, install and import him from monaco-graphql package
There are also breaking changes that need to be fixed
LanguageService.getSchema and LanguageService.setSchema methods was removed, now there are getSchemaForFile and updateSchema methods
LanguageService.getDiagnostics is now sync
The text was updated successfully, but these errors were encountered:
Because in
<OperationsEditor />
withgraphql-language-service
v4 when we select a field that has selection subfields curly brackets{
and}
add automatically, in v3 β not π Look at the videoScreen.Recording.2021-12-10.at.16.34.35.mov
Things to make
graphql-language-service
asCompletionItemKind
LanguageService
class is no longer present ingraphql-language-service
v3, install and import him frommonaco-graphql
packageThere are also breaking changes that need to be fixed
LanguageService.getSchema
andLanguageService.setSchema
methods was removed, now there aregetSchemaForFile
andupdateSchema
methodsLanguageService.getDiagnostics
is now syncThe text was updated successfully, but these errors were encountered: