From 742b49f67b34b742f1843d5aab25d02aec8f8ded Mon Sep 17 00:00:00 2001 From: JajaComp Date: Wed, 20 Sep 2023 22:29:40 +0300 Subject: [PATCH] open class KtorGraphQLRequestParser (#1856) Added open modifier for class KtorGraphQLRequestParser to support custom logic for request parser --- .../graphql/server/ktor/KtorGraphQLRequestParser.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/graphql-kotlin-ktor-server/src/main/kotlin/com/expediagroup/graphql/server/ktor/KtorGraphQLRequestParser.kt b/servers/graphql-kotlin-ktor-server/src/main/kotlin/com/expediagroup/graphql/server/ktor/KtorGraphQLRequestParser.kt index 8d8e5f163a..006889e11d 100644 --- a/servers/graphql-kotlin-ktor-server/src/main/kotlin/com/expediagroup/graphql/server/ktor/KtorGraphQLRequestParser.kt +++ b/servers/graphql-kotlin-ktor-server/src/main/kotlin/com/expediagroup/graphql/server/ktor/KtorGraphQLRequestParser.kt @@ -34,7 +34,7 @@ internal const val REQUEST_PARAM_VARIABLES = "variables" /** * GraphQL Ktor [ApplicationRequest] parser. */ -class KtorGraphQLRequestParser( +open class KtorGraphQLRequestParser( private val mapper: ObjectMapper ) : GraphQLRequestParser {