Interface TransformerOptions

TransformerOptions.

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

Properties

each: boolean

If the value to apply the transformer to is an array the transformer will be applied to every member.

primitiveCheck: boolean

Verify a relation already exist before the definition of the controller

Whether that Transformer function must be executed during the read process or the write process (or both).