graphql.kickstart.tools.resolver.MissingFieldResolver.kt Maven / Gradle / Ivy
package graphql.kickstart.tools.resolver
import graphql.kickstart.tools.MissingResolverInfo
import graphql.kickstart.tools.SchemaParserOptions
import graphql.kickstart.tools.TypeClassMatcher
import graphql.language.FieldDefinition
import graphql.schema.DataFetcher
internal class MissingFieldResolver(
field: FieldDefinition,
options: SchemaParserOptions
) : FieldResolver(field, FieldResolverScanner.Search(Any::class.java, MissingResolverInfo(), null), options, Any::class.java) {
override fun scanForMatches(): List = listOf()
override fun createDataFetcher(): DataFetcher<*> = DataFetcher { TODO("Schema resolver not implemented") }
}