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

Separate graphql querying from qraphql-mode functionality #38

Open
mkroehnert opened this issue May 27, 2020 · 2 comments
Open

Separate graphql querying from qraphql-mode functionality #38

mkroehnert opened this issue May 27, 2020 · 2 comments

Comments

@mkroehnert
Copy link

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.

@davazp
Copy link
Owner

davazp commented May 27, 2020

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.

@mkroehnert
Copy link
Author

@davazp thanks for the response.
I'll see if I find the time to dig deeper into this topic.

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