question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GraphQL explorer for http4k-graphql

See original GitHub issue

GraphQL explorer endpoint

It would be nice to have a graphical IDE for developers to try out there code and explore the graphql endpoint one creates. ktor-graphql has this functionality, which can be used like so:

val server = embeddedServer(Netty, port = 8080) {
    routing {
        graphQL("/graphql", schema) { request ->
            Config(showExplorer = true)
        }
    }
}
...

I get that http4k is simplistic and minimalist at it’s very core, and I respect that. If this feature contradicts that, feel free to close. I do feel that this will provide some very handy functionality 😃

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
daviddentoncommented, Jul 24, 2022

Fixed for next release.

1reaction
daviddentoncommented, Jul 15, 2022

It would be trivial to make a reusable route module which serves a static HTML file from the resources folder and contains the playground content. It won’t even add more dependencies so we can just ship it with the existing graphql module

Read more comments on GitHub >

github_iconTop Results From Across the Web

http4k GraphQL module
This module provides http4k integration for the excellent GraphQL-java library, allowing you to either serve or consume GraphQL services using a simple ...
Read more >
The Apollo Studio Explorer - Apollo GraphQL Docs
The Explorer is free for all Apollo Studio organizations. It supports all GraphQL operation types ( Query , Mutation , and Subscription )....
Read more >
Explorer - GitHub Docs
Get started, troubleshoot, and make the most of GitHub. Documentation for new users, developers, administrators, and all of GitHub's products.
Read more >
GraphiQL Explorer
launchesPast(limit: 10) {. 3. mission_name. 4. launch_date_local. 5. launch_site {. 6. site_name_long. 7. } 8. links {. 9. article_link. 10. video_link.
Read more >
GraphQL Explorer
Ready to go. With GraphQL Explorer you can start exploring your schema and data without writing any visual components or forms. Perfect ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found