API Reference
resolveNestMethodKey()
Resolves nest method key.
Import
import { resolveNestMethodKey } from "@graphrefly/ts/adapters/nestjs";
Signature
function resolveNestMethodKey(
ctor: DecoratorHostConstructor,
handler: DecoratorBoundMethod,
): string | symbol | undefined
Parameters
| Parameter | Type | Description |
|---|---|---|
ctor | DecoratorHostConstructor | Constructor that may own the decorated handler. |
handler | DecoratorBoundMethod | Handler function to match against metadata. |
Returns
The stable key or reference string.
Example
import { resolveNestMethodKey } from "@graphrefly/ts/adapters/nestjs";
Source
packages/ts/src/adapters/nestjs.ts