SchemaGeneratorHooks which handles rewiring of BaseNodePropertyDelegate backed files, collects all Node types and generates NodeDefinitions for it, and collects queries for Node types
Parameters
delegate
delegate used as fallback for all functions, used to provide better extensibility
Functions
Link copied to clipboard
open override fun didApplyDirective(directiveInfo: DirectiveMetaInformation, directive: GraphQLAppliedDirective): GraphQLAppliedDirective
Link copied to clipboard
Link copied to clipboard
open override fun didGenerateDirective(directiveInfo: DirectiveMetaInformation, directive: GraphQLDirective): GraphQLDirective
Link copied to clipboard
Link copied to clipboard
open override fun didGenerateMutationField(kClass: KClass<*>, function: KFunction<*>, fieldDefinition: GraphQLFieldDefinition): GraphQLFieldDefinition
Link copied to clipboard
Link copied to clipboard
open override fun didGenerateQueryField(kClass: KClass<*>, function: KFunction<*>, fieldDefinition: GraphQLFieldDefinition): GraphQLFieldDefinition
Link copied to clipboard
Link copied to clipboard
open override fun didGenerateSubscriptionField(kClass: KClass<*>, function: KFunction<*>, fieldDefinition: GraphQLFieldDefinition): GraphQLFieldDefinition
Link copied to clipboard
Link copied to clipboard
Checks if an additional type is valid Used when adding subtypes of interfaces Ignores Node types, as those are handled manually
Link copied to clipboard
Link copied to clipboard
Called to check if a property should be included in the schema Ignores all properties annotated with NodeRelationship, as those are handled manually
Link copied to clipboard
Link copied to clipboard
Checks if a superclass is valid Used when adding interfaces to an object type Ignores Node types, as those are handled manually
Link copied to clipboard
open override fun onRewireGraphQLType(generatedType: GraphQLSchemaElement, coordinates: FieldCoordinates?, codeRegistry: GraphQLCodeRegistry.Builder): GraphQLSchemaElement
Link copied to clipboard
Link copied to clipboard
open override fun willApplyDirective(directiveInfo: DirectiveMetaInformation, directive: GraphQLDirective): GraphQLAppliedDirective?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard