LeakyCauldronHooks

class LeakyCauldronHooks @Inject constructor(@Nullable authorizer: Authorizer<Principal>?, manualWiring: Map<String, KotlinSchemaDirectiveWiring>) : FlowSubscriptionSchemaGeneratorHooks

Schema generator hooks implementation that defines scalars for java.time (and threeten-extras) objects and wires up the @GraphQLAuth directive.

Constructors

LeakyCauldronHooks
Link copied to clipboard
fun LeakyCauldronHooks()
LeakyCauldronHooks
Link copied to clipboard
@Inject
fun LeakyCauldronHooks(@Nullable authorizer: Authorizer<Principal>?, manualWiring: Map<String, KotlinSchemaDirectiveWiring>)

Functions

didGenerateGraphQLType
Link copied to clipboard
open fun didGenerateGraphQLType(type: KType, generatedType: GraphQLType): GraphQLType
didGenerateMutationField
Link copied to clipboard
open fun didGenerateMutationField(kClass: KClass<*>, function: KFunction<*>, fieldDefinition: GraphQLFieldDefinition): GraphQLFieldDefinition
didGenerateMutationObject
Link copied to clipboard
open fun didGenerateMutationObject(type: GraphQLObjectType): GraphQLObjectType
didGenerateQueryField
Link copied to clipboard
open fun didGenerateQueryField(kClass: KClass<*>, function: KFunction<*>, fieldDefinition: GraphQLFieldDefinition): GraphQLFieldDefinition
didGenerateQueryObject
Link copied to clipboard
open fun didGenerateQueryObject(type: GraphQLObjectType): GraphQLObjectType
didGenerateSubscriptionField
Link copied to clipboard
open fun didGenerateSubscriptionField(kClass: KClass<*>, function: KFunction<*>, fieldDefinition: GraphQLFieldDefinition): GraphQLFieldDefinition
didGenerateSubscriptionObject
Link copied to clipboard
open fun didGenerateSubscriptionObject(type: GraphQLObjectType): GraphQLObjectType
isValidAdditionalType
Link copied to clipboard
open fun isValidAdditionalType(kClass: KClass<*>, inputType: Boolean): Boolean
isValidFunction
Link copied to clipboard
open fun isValidFunction(kClass: KClass<*>, function: KFunction<*>): Boolean
isValidProperty
Link copied to clipboard
open fun isValidProperty(kClass: KClass<*>, property: KProperty<*>): Boolean
isValidSubscriptionReturnType
Link copied to clipboard
open override fun isValidSubscriptionReturnType(kClass: KClass<*>, function: KFunction<*>): Boolean
isValidSuperclass
Link copied to clipboard
open fun isValidSuperclass(kClass: KClass<*>): Boolean
onRewireGraphQLType
Link copied to clipboard
open fun onRewireGraphQLType(generatedType: GraphQLSchemaElement, coordinates: FieldCoordinates?, codeRegistry: GraphQLCodeRegistry.Builder): GraphQLSchemaElement
willAddGraphQLTypeToSchema
Link copied to clipboard
open fun willAddGraphQLTypeToSchema(type: KType, generatedType: GraphQLType): GraphQLType
willBuildSchema
Link copied to clipboard
open fun willBuildSchema(builder: GraphQLSchema.Builder): GraphQLSchema.Builder
willGenerateGraphQLType
Link copied to clipboard
open override fun willGenerateGraphQLType(type: KType): GraphQLType?
willResolveInputMonad
Link copied to clipboard
open fun willResolveInputMonad(type: KType): KType
willResolveMonad
Link copied to clipboard
open override fun willResolveMonad(type: KType): KType

Properties

wiringFactory
Link copied to clipboard
open override val wiringFactory: KotlinDirectiveWiringFactory