aPureBase/KGraphQL

Cannot display the GraphQL playground with Ktor after following the official tutorial

ryanzidago opened this issue · 2 comments

Hi all,

I'm following this tutorial from scratch. However, it seems to me that it is not up to date with the newly automatically generated files from ktor.io.

What are the steps required that I should take to make it work with the following specs:

ktor_version=1.6.7
kotlin_version=1.6.10
logback_version=1.2.3
kotlin.code.style=official
kgraphql_version=0.17.14

This is the project that I'm trying to setup. When I boot up the server and visit localhost:8080/graphql I cannot see the playground (but nothing is logged 🤔)

After running gradle --version I get the following output:

❯ gradle --version

------------------------------------------------------------
Gradle 7.3.3
------------------------------------------------------------

Build time:   2021-12-22 12:37:54 UTC
Revision:     6f556c80f945dc54b50e0be633da6c62dbe8dc71

Kotlin:       1.5.31
Groovy:       3.0.9
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          17.0.1 (Oracle Corporation 17.0.1+12-39)
OS:           Linux 5.4.0-94-generic amd64

I finally found the culprit: #178 (comment)

I think no need to integrate the playground. You can use Insomnia to test your api.

KGraphQL is a great library, it is easier to use than the expediagroup one. I don't like the expediagroup one.