Skip to content

Commit 2bc633c

Browse files
authored
minor: Allow SpringGraphQLSubscriptionHandler to be extended (#1523)
Per issue #1522, the subscription handler likely was meant to be able to be extended with the `executeSubscription` method overridden. Resolves #1522
1 parent 1169175 commit 2bc633c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servers/graphql-kotlin-spring-server/src/main/kotlin/com/expediagroup/graphql/server/spring/subscriptions/SpringGraphQLSubscriptionHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ open class SpringGraphQLSubscriptionHandler(
3838
private val dataLoaderRegistryFactory: KotlinDataLoaderRegistryFactory? = null
3939
) {
4040

41-
fun executeSubscription(
41+
open fun executeSubscription(
4242
graphQLRequest: GraphQLRequest,
4343
context: GraphQLContext?,
4444
graphQLContext: Map<*, Any> = emptyMap<Any, Any>()

0 commit comments

Comments
 (0)