https://kotlinlang.org logo
Title
m

manlan

08/25/2020, 5:23 PM
Please, can somebody guide me in creating a Ktor server using graphql-kotlin? If there's a way in the first place?
d

Dariusz Kuc

08/25/2020, 5:26 PM
I am not that familiar with ktor server so won’t be much help but it is definitely possible
basically you would need to create
/graphql
route that process incoming requests and executes GraphQL requests
your schema would still be generated by
graphql-kotlin-schema-generator
you can also take a look at spark example which reimplements the above to use it with spark framework
👍🏼 1
🙂 1