Skip to content

jin-frame / decorators/methods/handlers/getRequestMeta / getRequestMeta

Function: getRequestMeta()

getRequestMeta(ctor): TMethodEntry

Defined in: src/decorators/methods/handlers/getRequestMeta.ts:21

상속관계가 만들어지는 경우, 부모가 뒷번호 index를 받는다. 아래와 같은 경우 IamDecorateParentGetClass가 01, IamDecorateChildGetClass가 00 이다.

@Delete({ host: 'i-am-host' }) class IamDecorateParentGetClass {}

@Get({ host: 'i-am-host' }) class IamDecorateChildGetClass extends IamDecorateParentGetClass {}

Parameters

ctor

Constructor function

AbstractConstructor<unknown> | Constructor<unknown>

Returns

TMethodEntry