graphql.kickstart.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 graphql.kickstart.tools
import graphql.kickstart.tools.util.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>,
val unusedDefinitions: Set>
)
internal typealias TypeClassDictionary = BiMap, JavaType>
internal typealias CustomScalarMap = Map