private fun generateOrderGraphQLType(nodeName: String, orders: Map<String, OrderPart<*>>, transformer: SchemaTransformationContext): GraphQLInputType

Generates the order type with a direction and an field field, where field is of the specific enum for the Node type

Return

the generated GraphQLInputType used to specific the order in which the nodes of a connection are returned

Parameters

nodeName

the name of the Node

orders

the possible OrderParts for the Node type with the enum name as key