ValueMapper

interface ValueMapper<D : Any>(source)

Provides a custom implementation for mapping a data type to a Viaduct object type. Implementations should be registered using the service loader mechanism.

Functions

Link copied to clipboard
abstract fun <V : Object> convert(from: D?, graphqlObjectType: GraphQLObjectType): V?