GitHub

DaffInMemorySingleRouteableBackend

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

A routing target that handles a single collection.

interface DaffInMemorySingleRouteableBackend {
  readonly collectionName: string
}

Properties

collectionName
string

The collection name of the backend service where the backend only serves one collection. Used for routing requests to the correct backend.