Interface TransformerOptions

TransformerOptions.

interface TransformerOptions {
    each: boolean;
    primitiveCheck: boolean;
    scope: ExecutionScope;
}

Properties

each: boolean

Applies the transformer function to each element if the value is an array.

primitiveCheck: boolean

Ensures that a relation exists before defining the Transformer decorator.

scope: ExecutionScope

Specifies whether the transformer function should be executed during the read phase, the write phase, or both.