GraphReFlyTS

API Reference

provideGraphGuard()

Creates Nest provider bindings for graph guard.

Import

import { provideGraphGuard } from "@graphrefly/ts/adapters/nestjs/native";

Signature

function provideGraphGuard(opts: GraphNativeHttpOptions<THost> = {}): Provider

Parameters

ParameterTypeDescription
optsGraphNativeHttpOptions<THost>Options that configure the helper.

Returns

Nest provider definitions for the requested boundary.

Example

import { provideGraphGuard } from "@graphrefly/ts/adapters/nestjs/native";

Source

packages/ts/src/adapters/nestjs/native.ts