com.coxautodev.graphql.tools.ScannedSchemaObjects.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-java-tools Show documentation
Show all versions of graphql-java-tools Show documentation
Tools to help map a GraphQL schema to existing Java objects.
package com.coxautodev.graphql.tools
import com.google.common.collect.BiMap
import graphql.language.FieldDefinition
import graphql.language.ObjectTypeDefinition
import graphql.language.TypeDefinition
import graphql.schema.GraphQLScalarType
/**
* @author Andrew Potter
*/
internal data class ScannedSchemaObjects(
val dictionary: TypeClassDictionary,
val definitions: Set>,
val customScalars: CustomScalarMap,
val rootInfo: RootTypeInfo,
val fieldResolversByType: Map>
)
internal typealias TypeClassDictionary = BiMap, Class<*>>
internal typealias CustomScalarMap = Map