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

Can this be used as to support GraphQL code completion and all inside notebook? #197

Open
saurav-bhagat opened this issue Feb 14, 2020 · 1 comment

Comments

@saurav-bhagat
Copy link

I'm looking if we can use this language server tool to get the same features which graphiQL provides, but inside jupyterlab.
Thanks

@bollwyvl
Copy link
Collaborator

Please provide a code example of where you are expecting autocomplete, e.g.

  • which host language/kernel (IPython, IRKernel, etc.)
  • which client are you using, e.g. quiz, strawberry-graphql, etc.
  • how you expect to write it, e.g. a %%graphql magic, a function call, loading a gql file, etc.

It would potentially be appropriate for this repo to wrap a graphql language server as we do for a number of other languages, but that will primarily work for graphql files, and may well need some more configuration (#196) to be able to specify the remote endpoint.

We have a potential roadmap item open to expand the nested language capabilities (#191), but no work has been started there. For example, we currently only have nesting with %% magics, but would like to support inline function calls in the future... but its heavily dependent on which client, etc.

If you are working in IPython, also of interest to you might be:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants