SerializationContext
class SerializationContext(val serializersModule: SerializersModule, val queryInputSerializers: Map<QueryInput<*>, KSerializer<IStepOutput<*>>> = emptyMap())
The output serializer of a query is context dependent when used by multiple QueryCallStep
s. This class carries the correct serializer for the input of a query depending on from where it is called.
Constructors
Link copied to clipboard
constructor(serializersModule: SerializersModule, queryInputSerializers: Map<QueryInput<*>, KSerializer<IStepOutput<*>>> = emptyMap())
Functions
Link copied to clipboard
operator fun <T> plus(queryInputSerializer: Pair<QueryInput<T>, KSerializer<out IStepOutput<T>>>): SerializationContext
Link copied to clipboard