GitHub

DaffInMemorySingleRouteableBackend

A routing target that handles a single collection.

import { DaffInMemorySingleRouteableBackend } from '@daffodil/driver/in-memory'
interface DaffInMemorySingleRouteableBackend {
  readonly collectionName: string
}

Properties

Name Type Description
collectionName string

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