object DefaultSchemaGeneratorHooks : SchemaGeneratorHooks

SchemaGeneratorHooks which support the TypeGraphQLType annotation Also adds support for scalars:

Handles the automatic generation of payload types for mutations annotated with AutoPayloadType

Properties

Link copied to clipboard
private val GraphQLOutputType.asFieldName: String

Transforms the name of the type to a field name Maps all starting titlecase letters to lowercase

Link copied to clipboard
val codeRegistry: GraphQLCodeRegistry.Builder?

Code registry used for additional datafetchers

Link copied to clipboard
open val wiringFactory: KotlinDirectiveWiringFactory

Functions

Link copied to clipboard
open fun didApplyDirective(directiveInfo: DirectiveMetaInformation, directive: GraphQLAppliedDirective): GraphQLAppliedDirective
Link copied to clipboard
open override fun didBuildSchema(builder: GraphQLSchema.Builder): GraphQLSchema.Builder
Link copied to clipboard
open fun didGenerateDirective(directiveInfo: DirectiveMetaInformation, directive: GraphQLDirective): GraphQLDirective
Link copied to clipboard
open fun didGenerateGraphQLType(type: KType, generatedType: GraphQLType): GraphQLType
Link copied to clipboard
open override fun didGenerateMutationField(kClass: KClass<*>, function: KFunction<*>, fieldDefinition: GraphQLFieldDefinition): GraphQLFieldDefinition
Link copied to clipboard
open fun didGenerateMutationObject(type: GraphQLObjectType): GraphQLObjectType
Link copied to clipboard
open fun didGenerateQueryField(kClass: KClass<*>, function: KFunction<*>, fieldDefinition: GraphQLFieldDefinition): GraphQLFieldDefinition
Link copied to clipboard
open fun didGenerateQueryObject(type: GraphQLObjectType): GraphQLObjectType
Link copied to clipboard
open fun didGenerateSubscriptionField(kClass: KClass<*>, function: KFunction<*>, fieldDefinition: GraphQLFieldDefinition): GraphQLFieldDefinition
Link copied to clipboard
open fun didGenerateSubscriptionObject(type: GraphQLObjectType): GraphQLObjectType
Link copied to clipboard
open fun isValidAdditionalType(kClass: KClass<*>, inputType: Boolean): Boolean
Link copied to clipboard
open fun isValidFunction(kClass: KClass<*>, function: KFunction<*>): Boolean
Link copied to clipboard
open fun isValidProperty(kClass: KClass<*>, property: KProperty<*>): Boolean
Link copied to clipboard
open fun isValidSubscriptionReturnType(kClass: KClass<*>, function: KFunction<*>): Boolean
Link copied to clipboard
open fun isValidSuperclass(kClass: KClass<*>): Boolean
Link copied to clipboard
open fun onRewireGraphQLType(generatedType: GraphQLSchemaElement, coordinates: FieldCoordinates?, codeRegistry: GraphQLCodeRegistry.Builder): GraphQLSchemaElement
Link copied to clipboard
open fun willAddGraphQLTypeToSchema(type: KType, generatedType: GraphQLType): GraphQLType
Link copied to clipboard
open fun willApplyDirective(directiveInfo: DirectiveMetaInformation, directive: GraphQLDirective): GraphQLAppliedDirective?
Link copied to clipboard
open fun willBuildSchema(queries: List<TopLevelObject>, mutations: List<TopLevelObject>, subscriptions: List<TopLevelObject>, additionalTypes: Set<KType>, additionalInputTypes: Set<KType>, schemaObject: TopLevelObject?): GraphQLSchema.Builder
Link copied to clipboard
open fun willGenerateDirective(directiveInfo: DirectiveMetaInformation): GraphQLDirective?
Link copied to clipboard
open override fun willGenerateGraphQLType(type: KType): GraphQLType?
Link copied to clipboard
Link copied to clipboard
open fun willResolveMonad(type: KType): KType