fun generateSearchFieldDefinition(nodeType: KClass<out Node>, name: String, description: String?, transformer: SchemaTransformationContext): GraphQLFieldDefinition
Generates the GraphQL search field
Return
the generated field
Parameters
nodeType
the type of the Node elements of the search
name
the name of the field
description
the description of the field, if null no description
transformer
used to access type caches, filter generator, ...