fun registerFunctionDataFetcher(type: GraphQLFieldsContainer, fieldName: String, kClass: KClass<*>)

Registers a data fetcher for a specific function

Parameters

type

the container type on which to register the data fetcher

fieldName

the name of the function

kClass

the class which contains the function to use for data fetching