redash icon indicating copy to clipboard operation
redash copied to clipboard

GraphQL query runner

Open arikfr opened this issue 5 years ago • 10 comments

  • [ ] GraphQL query runner
  • [ ] Update code editor to support GraphQL syntax

arikfr avatar Dec 03 '18 07:12 arikfr

Hmm wonder what it would take to do this one?

samrose avatar Jun 15 '19 19:06 samrose

@arikfr I am interested in exploring what may be required to see this implemented. I have some Flask experience.

samrose avatar Jun 15 '19 23:06 samrose

You can see here some details on creating a new Query Runner.

arikfr avatar Jun 17 '19 05:06 arikfr

Hey @arikfr is there any progress on GraphQL integration with Redash. and are there any open-source alternatives?

buddies2705 avatar Jul 23 '20 13:07 buddies2705

I can try to tackle this. One concern is afaik ace does not support a graphql syntax highlighter, they only have a graphql schema option - the list is here.

We could add graphql support with no syntax highlighting by setting the ace mode to "text".

What do you think @arikfr ?

kevinchiang avatar Jan 27 '22 20:01 kevinchiang

Would love to have this! More and more APIs are shifting to GraphQL vs. REST, being able to ingest them in Redash would be awesome.

hemaaanth avatar Nov 29 '22 21:11 hemaaanth

any movement on this?

jholla-atx avatar Nov 24 '23 16:11 jholla-atx

@jholla-atx there was a PR here, but the author closed it by deleting their fork of the redash repo. I'd be happy to accept any PRs if you want to give it a shot.

guidopetri avatar Nov 24 '23 16:11 guidopetri

That PR was held back by a lack of unit tests, but DGraph (which is something like GraphQL) does neither have unit tests. Is it possible to split up the PR?

  • focus on testing it with actual sources
  • separate issue discuss how to unit test both Dgraph and GraphQL correctly (as unit tests design it needs a different mind set)

VincentSC avatar Feb 14 '24 13:02 VincentSC