I have a flow that issues Amount<T> where T is not java.util.Currency. However, Corda's shell always deserialises my YAML as Amount<Currency>. This prevents me from executing my flow from the shell.
has fixed Corda so that it can deserialise Amount<T> according to the type of T. However, Corda's shell also needs to be modified to pass the correct generic type information into the YAML-parsing library (i.e. Jackson in this case).