Package com.apurebase.kgraphql.schema.structure

Types

EnumValue
Link copied to clipboard
class EnumValue<T : Enum<T>>(definition: EnumValueDef<T>) : __EnumValue
Field
Link copied to clipboard
sealed class Field : __Field
InputValue
Link copied to clipboard
class InputValue<T : Any>(valueDef: InputValueDef<T>, type: Type, defaultValue: String?) : __InputValue
LookupSchema
Link copied to clipboard
interface LookupSchema : Schema
RequestInterpreter
Link copied to clipboard
class RequestInterpreter(schemaModel: SchemaModel)
SchemaCompilation
Link copied to clipboard
class SchemaCompilation(configuration: SchemaConfiguration, definition: SchemaDefinition)
SchemaModel
Link copied to clipboard
data class SchemaModel(query: Type, mutation: Type?, subscription: Type?, enums: Map<KClass<out Enum<*>>, Type.Enum<out Enum<*>>>, scalars: Map<KClass<*>, Type.Scalar<*>>, unions: List<Type.Union>, allTypes: List<Type>, queryTypes: Map<KClass<*>, Type>, inputTypes: Map<KClass<*>, Type>, directives: List<Directive>) : __Schema
Type
Link copied to clipboard
interface Type : __Type
TypeProxy
Link copied to clipboard
open class TypeProxy(proxied: Type) : Type

Functions

assertValidObjectType
Link copied to clipboard
fun assertValidObjectType(kClass: KClass<*>)
validateArguments
Link copied to clipboard
fun Field.validateArguments(selectionArgs: List<ArgumentNode>?, parentTypeName: String?): List<ValidationException>
validateName
Link copied to clipboard
fun validateName(name: String)
validatePropertyArguments
Link copied to clipboard
fun validatePropertyArguments(parentType: Type, field: Field, requestNode: SelectionNode.FieldNode)
validateUnionRequest
Link copied to clipboard
fun validateUnionRequest(field: Field.Union<*>, selectionNode: SelectionNode.FieldNode)
validate that only typed fragments or __typename are present