Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/content/Tutorials/ktor.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@ Replace `x.x.x` with the latest version [![Maven Central](https://img.shields.io
}
```

The only thing left is installing the GraphQL feature onto our server by opening `src/Application.kt` and add these lines to the `Application.module` function
The only thing left is installing the GraphQL feature onto our server by opening `src/Application.kt` and use these lines as the `Application.module` function

=== "Application.kt"
```kotlin
fun Application.module(testing: Boolean = false) {
install(GraphQL) {
configureRouting()
playground = true
schema {
query("hello") {
Expand Down