[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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
context | DecoratorContext | - |
entity | Model | - |
filter? | string | When "parent", copies only ancestor keys; otherwise also copies the resource’s key. |
Returns
Section titled “Returns”void