Dariusz Kuc
07/11/2019, 9:22 PMclass CustomSchemaGeneratorHooks : SchemaGeneratorHooks {
val customGraphQLType = GraphQLObjectType.newObject()
override fun willGenerateGraphQLType(type: KType): GraphQLType? = when (type.classifier) {
Stream::class -> GraphQLList.list(customGraphQLType)
else -> null
}
}