API Reference
fromNestDiagnostics()
D494 explicit graph-visible diagnostics ingress. Emits sanitized data-only payloads.
Import
import { fromNestDiagnostics } from "@graphrefly/ts/adapters/nestjs";
Signature
function fromNestDiagnostics(
graph: Graph,
opts: NestDiagnosticsOptions = {},
): NestDiagnosticIngressBoundary
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | NestDiagnosticsOptions | Options that configure the helper. |
Returns
A NestDiagnosticIngressBoundary value for the boundary or adapter.
Example
import { fromNestDiagnostics } from "@graphrefly/ts/adapters/nestjs";
Source
packages/ts/src/adapters/nestjs.ts