File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
servers/graphql-kotlin-ktor-server/src/main/kotlin/com/expediagroup/graphql/server/ktor Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -145,14 +145,14 @@ class GraphQL(config: GraphQLConfiguration) {
145
145
pipeline.log.info(" \n ${plugin.schema.print ()} " )
146
146
}
147
147
148
- // install content negotiation
149
- pipeline.install(ContentNegotiation ) {
150
- jackson(streamRequestBody = config.server.streamingResponse) {
151
- apply (config.server.jacksonConfiguration)
152
- }
153
- }
154
148
// install routing
155
149
pipeline.routing {
150
+ // install content negotiation
151
+ install(ContentNegotiation ) {
152
+ jackson(streamRequestBody = config.server.streamingResponse) {
153
+ apply (config.server.jacksonConfiguration)
154
+ }
155
+ }
156
156
get(config.routes.endpoint) {
157
157
plugin.server.executeRequest(call)
158
158
}
You can’t perform that action at this time.
0 commit comments