API Reference
provideGraphBoundaryInterceptor()
Creates Nest provider bindings for graph boundary interceptor.
Import
import { provideGraphBoundaryInterceptor } from "@graphrefly/ts/adapters/nestjs/native";
Signature
function provideGraphBoundaryInterceptor(opts: GraphNativeHttpOptions<THost> = {}): Provider
Parameters
| Parameter | Type | Description |
|---|---|---|
opts | GraphNativeHttpOptions<THost> | Options that configure the helper. |
Returns
Nest provider definitions for the requested boundary.
Example
import { provideGraphBoundaryInterceptor } from "@graphrefly/ts/adapters/nestjs/native";
Source
packages/ts/src/adapters/nestjs/native.ts