[F] $alternateType
function $alternateType( context, source, alternate, scope?): voidReplace a source type with an alternate type in a specific scope.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | DecoratorContext | the decorator context |
source | ModelProperty | Scalar | source type to be replaced |
alternate | Scalar | target type to replace the source type |
scope? | string | Names of the projection (e.g. “python”, “csharp”, “java”, “javascript”) |
Returns
void