Skip to content

[F] $copyResourceKeyParameters

function $copyResourceKeyParameters(
context,
entity,
filter?
): void;

Populates a KeysOf<T> or ParentKeysOf<T> model with required path parameters for resource keys. Copies ancestor keys before the resource’s own key, using each key’s @key name and retaining decorators other than visibility decorators.

ParameterTypeDescription
contextDecoratorContext-
entityModel-
filter?stringWhen "parent", copies only ancestor keys; otherwise also copies the resource’s key.

void