API Reference
getNodeToken()
Get the injection token for a node at a qualified path.
Import
import { getNodeToken } from "@graphrefly/ts/adapters/nestjs";
Signature
function getNodeToken(path: string): symbol
Parameters
| Parameter | Type | Description |
|---|---|---|
path | string | path value used by the helper. |
Returns
A symbol value.
Example
import { getNodeToken } from "@graphrefly/ts/adapters/nestjs";
Source
packages/ts/src/adapters/nestjs.ts