We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa1578e commit de09f34Copy full SHA for de09f34
src/main/kotlin/com/coxautodev/graphql/tools/Utils.kt
@@ -38,6 +38,6 @@ internal fun JavaType.unwrap(): Class<out Any> =
38
}
39
40
internal fun DataFetchingEnvironment.coroutineScope(): CoroutineScope {
41
- val context: Any = this.getContext()
+ val context: Any? = this.getContext()
42
return if (context is CoroutineScope) context else GlobalScope
43
0 commit comments