QueryBackendBinding

data class QueryBackendBinding<out B : QueryBackend>(val backend: B, val storage: QueryStorageAdapter)

What a storage supplies for one aggregate's read model: the backend that executes admitted queries and the storage adapter that reports its native facts. The QuerySchemaCatalog compiles those facts with the model's sources and sensitivity; the storage never builds the schema itself.

Constructors

Link copied to clipboard
constructor(backend: B, storage: QueryStorageAdapter)

Properties

Link copied to clipboard
val backend: B
Link copied to clipboard