GraphReFlyTS

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

ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsNestDiagnosticsOptionsOptions 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