API Reference
getGraphToken()
Get the injection token for a named feature graph.
Import
import { getGraphToken } from "@graphrefly/ts/adapters/nestjs";
Signature
function getGraphToken(name: string): symbol
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | Stable name for the created node or helper. |
Returns
A symbol value.
Example
import { getGraphToken } from "@graphrefly/ts/adapters/nestjs";
Source
packages/ts/src/adapters/nestjs.ts