Expected Behavior
When calling a Workflow activity, we should support parameterized types for return types, as it is supported in Spring:
new ParameterizedTypeReference<List<OrderItem>>(){}
Actual Behavior
We only support Class returnType;
default <V> Task<V> callActivity(String name, Object input, Class<V> returnType)
Steps to Reproduce the Problem
Release Note
RELEASE NOTE: