M2DOC template construct taking Collection argument


Is it possible to pass a Sequence or Set argument to a template construct ?
e.g. something looking like the following:
{m:template someFunction(list: Sequence<capellacore::CapellaElement>) }
{m: ... process list ... }

You can use Sequence or OrderedSet as parameter of a template construct and then call it with the -> operator is the collection is the first parameter of the template construct. You will find two new tests as examples:

However union types are not supported yet:

Copyright © Eclipse Capella, the Eclipse Capella logo, Eclipse and the Eclipse logo are Trademarks of The Eclipse Foundation.