GraphQL backend for company-mode.
This emacs package provides completion for GraphQL file with your GraphQL server, which host the GraphQL DSL and allow introspection.
The type, fields, argument definition lookup process is relied on the instrospection specified in introspection.graphql graphql query file, which is used to get json response from the server. Once the JSON response is received, it builds a hashtable, which is futher augmented to help faster definition lookup.
You can install this package from Melpa
M-x package-install RET company-graphql RET
add your company-graphql to company-backend
(add-to-list 'company-backends 'company-graphql)
- open any .graphql file, and edit...