GitHub

DaffInMemoryDriverConfig

interface

import { DaffInMemoryDriverConfig } from '@daffodil/driver/in-memory'

interface DaffInMemoryDriverConfig {
  apiBase: string
  passThroughUnknownRequests: boolean
}

Properties

apiBase
string

The base path segment of the API route.

passThroughUnknownRequests
boolean

When enabled, requests that do not match any configured backend will be automatically forwarded to the provided backend endpoint.

This acts as a "catch-all" or fallback mechanism, ensuring that unknown or unconfigured routes are still proxied instead of being rejected.