GraphReFlyTS

API Reference

provideGraphNativeProviders()

Creates Nest provider bindings for graph native providers.

Import

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

Signature

function provideGraphNativeProviders(opts: GraphNativeProviderBundleOptions<THost> = {}): Provider[]

Parameters

ParameterTypeDescription
optsGraphNativeProviderBundleOptions<THost>Options that configure the helper.

Returns

Nest provider definitions for the requested boundary.

Example

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

Source

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