RenderChildInvocation
class RenderChildInvocation(val workflow: Workflow<*, *, *>, val props: Any?, val outputType: KTypeProjection, val renderingType: KTypeProjection, val renderKey: String)(source)
Describes a call to RenderContext.renderChild.
Output and rendering types
The testing library will attempt to determine the output and rendering types by using reflection to determine the type arguments that the concrete workflow class passes to the Workflow interface. This is subject to the limitations of Kotlin's reflection. Notably, there is a compiler bug (KT-17103) that prevents reflecting on these types when the workflow is an anonymous class that was created by an inline function with reified types, such as Workflow.stateful
and Workflow.stateless
.
Parameters
Constructors
Link copied to clipboard
constructor(workflow: Workflow<*, *, *>, props: Any?, outputType: KTypeProjection, renderingType: KTypeProjection, renderKey: String)