Skip to content

[F] $alternateType

function $alternateType(
context,
source,
alternate,
scope?): void

Replace a source type with an alternate type in a specific scope.

Parameters

ParameterTypeDescription
contextDecoratorContextthe decorator context
sourceModelProperty | Scalarsource type to be replaced
alternateScalartarget type to replace the source type
scope?stringNames of the projection (e.g. “python”, “csharp”, “java”, “javascript”)

Returns

void