graphql-mode
graphql-mode copied to clipboard
Separate graphql querying from qraphql-mode functionality
Hi @davazp first of all thank you very much for this nice Emacs mode.
I was wondering, what you would think of separating the querying and the editing/displaying part of this package.
Background: I was searching for a simple way of querying a graphql server and found this package. However, I would prefer to only use the querying part that I load from a dedicated .el file and have all the major-mode and (message) related parts in graphql-mode.el file. Like this the query part could be used in libraries or other programs without pulling in the major-mode.
That sounds reasonable. The query part of this library is pretty trivial though. There is room for a much better client.
Another option if such a library is created is to change this mode to use it. I am not very actively using this mode now so I would probably be better of somebody else does it though.
@davazp thanks for the response. I'll see if I find the time to dig deeper into this topic.