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 485fcc4 commit 5bd12deCopy full SHA for 5bd12de
src/main/kotlin/graphql/kickstart/tools/resolver/FieldResolverScanner.kt
@@ -138,7 +138,7 @@ internal class FieldResolverScanner(val options: SchemaParserOptions) {
138
&& method.genericReturnType is ParameterizedType
139
&& (method.genericReturnType as ParameterizedType).actualTypeArguments
140
.any {
141
- it is ParameterizedType && it.rawType == Publisher::class.java
+ it is ParameterizedType && it.unwrap().isAssignableFrom(Publisher::class.java)
142
}
143
144
private fun receiveChannelToPublisherWrapper(method: Method) =
0 commit comments