Everest icon indicating copy to clipboard operation
Everest copied to clipboard

Proposal: GraphQL support

Open MatteoJoliveau opened this issue 7 years ago • 4 comments
trafficstars

Hi! Don't know if this is the right place to propose new features, please tell me if otherwise.

It would be great if Everest supported writing GraphQL queries and browsing a schema documentation, similar to how GraphiQL works. I can work on the feature, but I was a backend Java developer and never worked with JFX (but I'm willing to learn) so I would much appreciate some help on the front-end side of things.

Basic features:

  • Fetch and parse a schema from a GraphQL endpoint so that it can be displayed in a graphical, browsable way
  • Write and send queries and mutations (with autocomplete based on the fetched schema) with validations and variables support
  • Customize request headers (same as the standard HTTP Everest section)

Nice to have:

  • WebSocket support to enable GraphQL subscriptions

Feel free to add your thoughts and suggestions if you have any, I'd like to throw in a little more brainstorming on this since it's a pretty huge feature to develop.

MatteoJoliveau avatar Oct 03 '18 13:10 MatteoJoliveau

Hello again, Matteo! I remember you had the same suggestion for Everest a few months back on dev.to. I've had this in the back of mind but was planning on implementing it post stable release as a feature update. But since you're willing to build this, by all means!

I can definitely help with the front end stuff. However, I don't have any knowledge of GraphQL. I'll research and learn a bit and get back to you.

In the meanwhile, could you provide any mock-ups for this feature?

RohitAwate avatar Oct 06 '18 04:10 RohitAwate

Hi Rowit!

I can start working on the backend stuff (implementing the GraphQL client and internal service classes that will be used in controllers) so that you or any other contributor can plug the frontend in at a later stage.

MatteoJoliveau avatar Oct 08 '18 08:10 MatteoJoliveau

That sounds great! Let me know what you need from my end to get started.

RohitAwate avatar Oct 13 '18 07:10 RohitAwate

I have a little experience with graphql and javafx. I don't mind joining in contributing to this feature...

How do i begin to contribute?

PS. I have a demanding day job so i might not have much hours per week to work on this project.

ayo-dele-akin avatar Dec 07 '18 07:12 ayo-dele-akin