jin-frame / decorators/methods/handlers/getRequestMeta / getRequestMeta
Function: getRequestMeta()
getRequestMeta(
ctor):MethodEntry
Defined in: packages/jin-frame/src/decorators/methods/handlers/getRequestMeta.ts:26
Resolves and merges all method decorator metadata for a class constructor, walking the inheritance chain. When a parent and child both apply a decorator, the parent receives a higher index — child metadata takes precedence.
Parameters
ctor
Constructor function
AbstractConstructor<unknown> | Constructor<unknown>
Returns
Example
typescript
@Delete({ host: 'i-am-host' })
class ParentFrame {}
@Get({ host: 'i-am-host' })
class ChildFrame extends ParentFrame {}
// ParentFrame → index 01, ChildFrame → index 00