fun generateConnectionFieldDefinition(nodeType: KClass<out Node>, name: String, description: String?, transformer: SchemaTransformationContext): GraphQLFieldDefinition

Generates the GraphQL connection field

Return

the generated field

Parameters

nodeType

the type of the Node elements of the connection

name

the name of the field

description

the description of the field, if null no description

transformer

used to access type caches, filter generator, ...