Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

think about update graphql-language-service to v4 #282

Open
dimaMachina opened this issue Dec 10, 2021 · 0 comments
Open

think about update graphql-language-service to v4 #282

dimaMachina opened this issue Dec 10, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@dimaMachina
Copy link
Collaborator

dimaMachina commented Dec 10, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant