Skip to content

unifiedGet

Overview

Retrieves a value from a plain, related, or calculated object based on a namespaced field path. Paths prefixed with "related." or "calculated." are resolved against the corresponding object.

Signature

unifiedGet(obj, relatedObj, calculatedObj, fieldPath)

Parameters

NameTypeRequiredDescription
objobjectyesThe primary object.
relatedObjobjectyesThe related object.
calculatedObjobjectyesThe calculated object.
fieldPathstringyesThe field path, optionally prefixed with "related." or "calculated.".

Returns

unknown

The resolved value.

Source

client/lib/utils/unifiedGet.js:17

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2