internal fun convertArgumentValue(argumentName: String, type: KType, param: KAnnotatedElement, argumentMap: Map<String, Any?>): Any?

Convert the argument from the argument map to a class we can pass to the Kotlin function.

Return

the parsed parameter

Parameters

argumentName

the name of the graphql argument

type

the type of the kotlin property/parameter

param

the Kotlin parameter/property

argumentMap

the map of graphql parameter name to graphql argument