GraphQL LSP for Web (vscode.dev, github.dev) & vscodeThis extension is based on LSP web extension example from Microsoft and graphiql/graphql-language-service-server It combines multiple useful packages by the GraphQL Foundation and ports them to the vscode web. To address the original issue to port GraphQL LSP to web this extension needed to do some radical changes, like dropping the support for Important to note: This is not the official extension by GraphQL Foundation and it is maintained by Hlambda. To sponsor the work please reach out to Hlambda developers. Mission
Features
InstallingYou can easily test the extension in your browser by opening vscode.dev and searching for the extension RunningCreate new file ! This is not the same configuration as graphql.config from Example structure of
Create new file Example structure of
Add or remove headers based on your API type (Hasura, Apollo Server, Prisma, something custom, etc.), you can setup custom headers per project. This way you can test your API as a different role, just create multiple projects with different headers. IssuesHere we list most common issues you may have:
We suggest two approaches;
Development
CompileYou can compile it with:
Test in chromeYou can test it in browser using vscode-test-web
Structure
|