Member Junction
    Preparing search index...

    Framework-agnostic engine that runs a field-value transform pipeline over a single (value, fields) pair. Lifted from the MemberJunction integration field-mapping engine so the integration sync AND the rules-based bulk-update processor share one implementation of every transform type.

    Holds an LRU cache of compiled custom/formula expressions (an identical expression compiles once, not once per record). A failed compile is cached as the Error it threw and re-thrown from cache, so a malformed expression is compiled exactly once across a whole batch.

    Index

    Constructors

    Methods

    • Evaluates a value-producing expression against the record. Reuses the compiled-expression cache. The expression sees the current field value as value and all record fields as fields (e.g. fields.FirstName + ' ' + fields.LastName).

      Parameters

      • expression: string
      • value: unknown
      • fields: Record<string, unknown>

      Returns unknown