GraphReFlyTS

API Reference

provideGraphNativeHttpProviders()

Creates Nest provider bindings for graph native HTTP providers.

Import

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

Signature

function provideGraphNativeHttpProviders(opts: GraphNativeHttpProviderBundleOptions<THost> = {}): Provider[]

Parameters

ParameterTypeDescription
optsGraphNativeHttpProviderBundleOptions<THost>Options that configure the helper.

Returns

Nest provider definitions for the requested boundary.

Example

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

Source

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