Applies the transformer function to each element if the value is an array.
Ensures that a relation exists before defining the Transformer decorator.
Specifies whether the transformer function should be executed during the read phase, the write phase, or both.
TransformerOptions.